aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | dsputil_mmx: fix scalarproduct prototypesMichael Niedermayer2012-04-011-2/+2
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | txd: Fix "set but not used" warningMichael Niedermayer2012-04-011-1/+2
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | audiointerleave: check timebaseMichael Niedermayer2012-04-011-0/+4
| | | | | | | | | | | | | | | | | | Replaces FPE by clean error Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | ffmpeg: fix plain -profile supportMichael Niedermayer2012-04-011-0/+10
| | | | | | | | | | | | | | | | | | Fixes Ticket387 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | direcdec: fix infinite loopMichael Niedermayer2012-04-011-1/+1
| | | | | | | | | | | | | | | | | | Fixes Ticket1156 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | The lt and lte functions were swapped.maxlazarov2012-04-012-5/+5
| | |
* | | avidec: better NI detection.Michael Niedermayer2012-04-011-1/+28
| | | | | | | | | | | | | | | | | | The new code detects NI avis by analyzing the index. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | lavc: check media type of the decoder before calling it.Michael Niedermayer2012-04-011-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | This fixes a segfault where a video decoder was called from avcodec_decode_audio*(). Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-015-33/+36
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: apedec: check bits <= 32. cavs: Remove unused code. oggenc: fix condition when not to flush due to keyframe granule. oggenc: add pagesize option to set preferred page size libspeexdec: set frame size in libspeex_decode_init() smacker audio: sign-extend the initial 16-bit predicted value Conflicts: libavcodec/apedec.c libavcodec/libspeexdec.c libavformat/oggenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | apedec: check bits <= 32.Michael Niedermayer2012-03-311-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a floating-point exception further down. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * | cavs: Remove unused code.Aneesh Dogra2012-03-311-20/+19
| | | | | | | | | | | | | | | | | | | | | The square is always passed as 1 whenever the function is called and thus the if block never gets executed. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * | oggenc: fix condition when not to flush due to keyframe granule.Reimar Döffinger2012-03-301-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous condition of 0 page size was wrong, that would disable the mechanism for all frames at a start of a page, thus some keyframes still would not get their own granule. The real problem is that header packets must not be flushed, but they have (and must have) 0 granule and thus would be detected as keyframes. Add a separate parameter to mark header packets. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
| * | oggenc: add pagesize option to set preferred page sizeAndres Gonzalez2012-03-301-2/+25
| | | | | | | | | | | | | | | | | | | | | | | | When set, if an Ogg stream buffer has enough data, a page is made instead of filling maximum-size pages. Using smaller pages results smaller seek intervals at the expense of higher container overhead. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
| * | libspeexdec: set frame size in libspeex_decode_init()Justin Ruggles2012-03-301-0/+1
| | | | | | | | | | | | This fixes speex decoding, which was broken in 85469f1c.
| * | smacker audio: sign-extend the initial 16-bit predicted valueFranz Brauße2012-03-301-1/+1
| | | | | | | | | | | | | | | | | | Fixes Bug #265 Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* | | indeo4: fix null ptr dereferenceMichael Niedermayer2012-03-311-2/+2
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | FATE: Add RALF decoding testDerek Buitenhuis2012-03-312-0/+4
| | | | | | | | | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | indeo4: check that num_mbs matchesMichael Niedermayer2012-03-311-0/+5
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | tm2dec: fix overreadMichael Niedermayer2012-03-311-1/+1
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | ividsp: prevent pointers from going outside and overreading.Michael Niedermayer2012-03-311-4/+11
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | ividsp: zero pitch so as not to overreadMichael Niedermayer2012-03-311-0/+3
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | indeo5: change AVCodecContext w/h when internal ones change.Michael Niedermayer2012-03-311-0/+4
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | fate: update regression checksum due to 95ce0ddcfe99182365e0e57f5f41d7f1a01c57ebMichael Niedermayer2012-03-311-1/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | lavfi/fade: fix black level for non studio-level pixel formatsStefano Sabatini2012-03-311-2/+2
| | | | | | | | | | | | Fix trac ticket #1139, regression introduced in 8c1fb50d077d5f954.
* | | lxfdec: support version 1 files, too.Reimar Döffinger2012-03-311-33/+59
| | | | | | | | | | | | | | | | | | Fixes trac issue #656. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | | movenc: add some default cases.Reimar Döffinger2012-03-311-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | This fixes crashes when copying a data track as in trac issue #236. No proper timecode tracks will be written though. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | | MOV: Fix old-style muxed raw-audio data.Reimar Döffinger2012-03-312-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes the sample from trac issue #522. The issue is that the mov demuxer insists on using its calculated sample_size (which is nonsense for old-style tracks) instead of the one encoded in the track. The old raw audio code should be using the value in stsz, because the size of a single sample never makes sense for the size of a full audio packet, whereas the new code will multiply the sample size by the chunk size, so it should use the calculated value. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | | MOV: bail out to toplevel when encountering a trak or mdat chunk.Reimar Döffinger2012-03-311-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes the sample from trac issue #733. The issue is that the size of the trak elements is coded too large, so that the next trak element would be parsed as part of the first and truncated incorrectly. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | | vsrc_buffer: Store allocated scale filter and free it later.Michael Niedermayer2012-03-311-2/+5
| | | | | | | | | | | | | | | | | | Fixes a memleak. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avfilter: allow freeing NULL.Michael Niedermayer2012-03-311-0/+3
| | | | | | | | | | | | | | | | | | this way avfilter_free() can be called without NULL checks. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | dcttest: put ff_prores_idct_put_10_sse2_wrap under HAVE_YASMMichael Niedermayer2012-03-311-2/+2
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-307-140/+223
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: h264: drop ff_h264_ prefix from static function ff_h264_decode_rbsp_trailing() h264: Make ff_h264_decode_end() static, it is not used externally. output-example: K&R formatting cosmetics, comment spelling fixes avf: make the example output the proper message avf: fix audio writing in the output-example mov: don't overwrite existing indexes. lzw: fix potential integer overflow. truemotion: forbid invalid VLC bitsizes and token values. truemotion2: handle out-of-frame motion vectors through edge extension. configure: Check for a different SDL function Conflicts: configure doc/examples/muxing.c libavcodec/truemotion2.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | h264: drop ff_h264_ prefix from static function ff_h264_decode_rbsp_trailing()Diego Biurrun2012-03-301-2/+2
| | |
| * | h264: Make ff_h264_decode_end() static, it is not used externally.Diego Biurrun2012-03-302-4/+3
| | | | | | | | | | | | Also drop the now unnecessary ff_ prefix from its name.
| * | output-example: K&R formatting cosmetics, comment spelling fixesDiego Biurrun2012-03-301-97/+100
| | |
| * | avf: make the example output the proper messageLuca Barbato2012-03-291-2/+2
| | | | | | | | | | | | | | | av_dump_format needs the codecs opened in order to print them.
| * | avf: fix audio writing in the output-exampleLuca Barbato2012-03-291-1/+1
| | | | | | | | | | | | | | | av_init_packet does not reset data and size fields in AVPacket, avcodec_encode_audio2 can use preallocated AVPacket.
| * | mov: don't overwrite existing indexes.Ronald S. Bultje2012-03-291-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | Prevents all kind of badness if files contain multiple indexes. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | lzw: fix potential integer overflow.Ronald S. Bultje2012-03-291-1/+1
| | |
| * | truemotion: forbid invalid VLC bitsizes and token values.Ronald S. Bultje2012-03-291-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SHOW_UBITS() is only defined up to n_bits is 25, therefore forbid values larger than this in get_vlc2() (max_bits). tokens[][] can be used as an index in deltas[], which has a size of 64, so ensure the values are smaller than that. This prevents crashes on corrupt bitstreams. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | truemotion2: handle out-of-frame motion vectors through edge extension.Ronald S. Bultje2012-03-291-27/+90
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | configure: Check for a different SDL functionMartin Storsjö2012-03-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This one is available both in SDL 1.2 and in 1.3 (which is the current version available e.g. in macports), while 1.3 doesn't contain SDL_Linked_Version(). The current check for SDL_Linked_Version() (available since SDL 1.2.13) was added in 8f1b06c8, because including the headers for SDL_Init() redirects the main() function, requiring the main function signature to match the one of SDL_main (including argc/argv). Signed-off-by: Martin Storsjö <martin@martin.st>
* | | svq3: Fix pointer type mismatch warning.Michael Niedermayer2012-03-301-1/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | cavsdec: initialize all tables to zeros.Michael Niedermayer2012-03-301-9/+9
| | | | | | | | | | | | | | | | | | | | | This ensures that they dont contain invalid values. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | svq1enc: fix ptr type mismatch warningMichael Niedermayer2012-03-301-1/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | mpeghaudiodec: Fix "set but not used" warningsMichael Niedermayer2012-03-301-1/+2
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | mjpegdec: Fix "assignment from incompatible pointer type" warningsMichael Niedermayer2012-03-301-2/+2
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | j2kenc: Fix "function declaration isn’t a prototype" warningMichael Niedermayer2012-03-301-1/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | j2kdec: fix format stringsMichael Niedermayer2012-03-301-2/+2
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | interplayvideodec: pass correct pointer to av_dlog()Michael Niedermayer2012-03-301-1/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>