summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* Use cutoff frequency to adjust bandwidth in the generic psymodel preprocess.Alex Converse2009-07-14
| | | | Originally committed as revision 19429 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix "warning: assignment discards qualifiers from pointer target type"David Conrad2009-07-13
| | | | Originally committed as revision 19424 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix memory leak in libtheora encoderArt Clarke2009-07-13
| | | | | | Patch by Art Clarke [aclark , xuggle . com] Originally committed as revision 19423 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make VAAPI/VDPAU variant of decoder foo depend on decoder foo.Diego Biurrun2009-07-12
| | | | | | | | The VAAPI/VDPAU variants of foo require almost all of the code of foo. Thus it makes little sense to enable just the accelerated variant. This allows refactoring some object dependencies in the Makefiles. Originally committed as revision 19403 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: reindent after last commitAlex Converse2009-07-10
| | | | Originally committed as revision 19400 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Ignore subsequent channel configurations after the first in an AAC file. TheAlex Converse2009-07-10
| | | | | | | current code doesn't handle them properly, and they are a dubious construction at best. Originally committed as revision 19399 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark iir filter init and free functions av_cold.Alex Converse2009-07-10
| | | | Originally committed as revision 19398 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix "iirfilter.c:55: warning: unused variable ‘size’"Alex Converse2009-07-10
| | | | Originally committed as revision 19397 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Eliminate use of complex.h from iirfilter.cAlex Converse2009-07-10
| | | | Originally committed as revision 19396 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change fminf/fmaxf to FFMIN/FFMAX to fix the build on broken operating systems.Alex Converse2009-07-09
| | | | Originally committed as revision 19391 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix declarations of complex numbersMåns Rullgård2009-07-09
| | | | | | | Complex numbers must be declared using a base type of float, double, or long double. Originally committed as revision 19390 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after last commitAlex Converse2009-07-08
| | | | Originally committed as revision 19382 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prevent AAC frame size overflows.Alex Converse2009-07-08
| | | | Originally committed as revision 19381 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Refactor windowing and early psy from bitstream writing parts of the AAC ↵Alex Converse2009-07-08
| | | | | | encoder. Originally committed as revision 19380 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Turn on AAC rate control.Alex Converse2009-07-08
| | | | Originally committed as revision 19379 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove unnecessary {} around if/for blocks;Diego Biurrun2009-07-08
| | | | | | move statements after if/for to the next line. Originally committed as revision 19378 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: prettyprinting, K&R style, break overly long linesDiego Biurrun2009-07-08
| | | | Originally committed as revision 19377 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: Pretty print the AAC encoder.Alex Converse2009-07-08
| | | | Originally committed as revision 19376 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge the AAC encoder from SoC svn. It is still considered experimental.Alex Converse2009-07-08
| | | | Originally committed as revision 19375 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add extra validation checks to ff_vorbis_len2vlc.Reimar Döffinger2009-07-08
| | | | | | They should not be necessary, but it seems like a reasonable precaution. Originally committed as revision 19374 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure that values generated for ff_vorbis_len2vlc inReimar Döffinger2009-07-08
| | | | | | vorbis_parse_setup_hdr_codebooks are in the valid range (<=32). Originally committed as revision 19373 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add PIX_FMT_ARGB encoding to qtrle.Alexis Ballier2009-07-08
| | | | | | Patch by Alexis Ballier, alexis ballier gmail Originally committed as revision 19372 to svn://svn.ffmpeg.org/ffmpeg/trunk
* whitespace cosmetics: Realign colums after last commit.Diego Biurrun2009-07-07
| | | | Originally committed as revision 19367 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check for CONFIG_LIBFOO_DECODER/CONFIG_LIBFOO_ENCODER instead of justDiego Biurrun2009-07-07
| | | | | | | | | CONFIG_LIBFOO in the external libraries section. This is more consistent with the rest of the Makefiles, it makes clearer what is actually implemented and should be advantageous if we implement an external library encoder where we previously just had the decoder and vice versa. Originally committed as revision 19366 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove support for nonfree libamr library for AMR-NB/WB decoding/encoding.Diego Biurrun2009-07-07
| | | | | | libopencore can now be used as a replacement except for AMR-WB encoding. Originally committed as revision 19365 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change av_free to av_freepReimar Döffinger2009-07-06
| | | | Originally committed as revision 19360 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reallocate internal buffer when coded frame size changes.Reimar Döffinger2009-07-06
| | | | | | Fixes out-of-bounds reads and writes with i32/smclocki32.avi.1.0 from issue 1240. Originally committed as revision 19359 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change iv_decode_frame to get AVCodecContext as argument, so thatReimar Döffinger2009-07-06
| | | | | | avcodec_check_dimensions can be called with a proper context instead of NULL. Originally committed as revision 19358 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless ret variable added in last revision again.Reimar Döffinger2009-07-06
| | | | Originally committed as revision 19357 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l, theora_decode_init must pass on errors from vp3_decode_initReimar Döffinger2009-07-06
| | | | Originally committed as revision 19356 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make decode_init fail if the huffman tables are invalid and thus init_vlc fails.Reimar Döffinger2009-07-06
| | | | | | | Otherwise this will crash during decoding because the vlc tables are NULL. Partially fixes ogv/smclock.ogv.1.101.ogv from issue 1240. Originally committed as revision 19355 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Ensure that the filter limit values do not exceed the maximum allowed value ↵Reimar Döffinger2009-07-05
| | | | | | of 127. Originally committed as revision 19351 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Extend init_loop_filter to work for filter limit values up to 127 insteadReimar Döffinger2009-07-05
| | | | | | of only up to 64. 127 is the maximum value allowed by the theora specification. Originally committed as revision 19350 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a check to vp6_parse_coeff_huffman to ensure it does not overread the ↵Reimar Döffinger2009-07-05
| | | | | | input buffer. Originally committed as revision 19349 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp56dec: ensure range coder won't read past the end of input bufferAurelien Jacobs2009-07-05
| | | | Originally committed as revision 19348 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check that palctrl is available on init instead of crashing when trying to useReimar Döffinger2009-07-05
| | | | | | | it on decode. Fixes mpeg2/smclockmpeg2.avi.2.1 from issue 1240. Originally committed as revision 19347 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix a buffer overrun on corrupt huffyuv streamsLoren Merritt2009-07-04
| | | | Originally committed as revision 19346 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ARM: NEON VP3 IDCTDavid Conrad2009-07-04
| | | | | | 15% faster VP3/Theora, 10% faster VP6 Originally committed as revision 19345 to svn://svn.ffmpeg.org/ffmpeg/trunk
* If the end of the input buffer is reached while decoding MJPEG and at leastReimar Döffinger2009-07-04
| | | | | | | a valid SOF was found, emulate an EOI. This allows e.g. to at least decode the available part of incomplete MJPEG frames. Originally committed as revision 19344 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make the MJPEG decoder return -1 when no image was decoded so that decodeReimar Döffinger2009-07-04
| | | | | | errors are actually recognizable as such. Originally committed as revision 19343 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a got_picture flag to MJpegDecodeContext which indicates if its pictureReimar Döffinger2009-07-04
| | | | | | | | | element is valid. Skip the code handling SOS and EOI if not, since it can not work without a valid AVPicture. This fixes a crash with mjpeg/smclockmjpeg.avi.1.0 from issue 1240 where the decoder returned an invalid AVPicture. Originally committed as revision 19342 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mjpegdec: check that the coded dc_index and ac_index have a valid associated ↵Reimar Döffinger2009-07-04
| | | | | | | | | | VLC table. Removes some disabled dc_index/ac_index checking code that seems to have had some undocumented issues and should not really be necessary anymore now. Fixes from issue 1240 the files mjpeg/smclockmjpeg.avi.1.10 and mjpeg/smclockmjpeg.avi.1.171. Originally committed as revision 19341 to svn://svn.ffmpeg.org/ffmpeg/trunk
* H.264: Check the return value of decode_vui_parameters()Alexander Strange2009-07-04
| | | | | | | | | Files with invalid VUI are now rejected like other invalid SPS are. Fixes issue1231. Originally committed as revision 19335 to svn://svn.ffmpeg.org/ffmpeg/trunk
* H.264: Don't set data_partitioning for invalid NAL_DPA.Alexander Strange2009-07-03
| | | | | | | | | | | Before, the decoder could interpret a corrupt frame as a NAL_DPA and NAL_DPC, and then start decoding even if decode_slice_header() returned an error. This frequently caused crashes. Fixes issue1228, issue1229, and partially issue1238. Originally committed as revision 19328 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cleanup properly at the end of MPEG Audio parsing.Art Clarke2009-07-02
| | | | | | Patch by Art Clarke (aclarke AT xuggle com) Originally committed as revision 19327 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert r19317, "simplify slice_end, return size of output frame".Baptiste Coudurier2009-07-01
| | | | | | It returns non decodable B-frames. Originally committed as revision 19324 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2009-07-01
| | | | Originally committed as revision 19323 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure we dont read over the end.Michael Niedermayer2009-07-01
| | | | | | Fixes issue1237. Originally committed as revision 19322 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix potentially unaligned accesses in ff_copy_bits()Måns Rullgård2009-07-01
| | | | | | | | | | | A pointer should never be assigned a value which may have less than the required alignment of the target type. Compilers may assume pointer values have the required alignment, and emit normal load/store instructions. Unaligned pointers should use a character type or compiler-specific type modifiers. Originally committed as revision 19318 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify slice_end, return size of output frameBaptiste Coudurier2009-07-01
| | | | Originally committed as revision 19317 to svn://svn.ffmpeg.org/ffmpeg/trunk