summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* sbrdsp: Use standard multiple inclusion guards.Diego Biurrun2012-04-04
|
* pcm: K&R formatting cosmeticsAneesh Dogra2012-04-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* rawdec: Support fourccs YV16 and YV24Piotr Bandurski2012-04-03
|
* rtmp: implement bandwidth notificationRaffaele Sena2012-04-03
| | | | | | Improve compatibility with some servers. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* rtmp: update supported audio codecs valueSamuel Pitoiset2012-04-03
| | | | | | | | The audio codecs property is composed by all values except SUPPORT_SND_INTEL (0x0008) and SUPPORT_SND_UNUSED (0x0010) which are unused. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Unscaled Planar RGB -> RGB support in swscale.Hans-Kristian Arntzen2012-04-03
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* FATE: Add RALF decoding testDerek Buitenhuis2012-04-01
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* vsrc_buffer: allow buffering arbitrary number of frames.Anton Khirnov2012-04-01
|
* vf_scale: avoid a pointless memcpy in no-op conversion.Anton Khirnov2012-04-01
| | | | I.e. just pass the buffer along when src parameters == dst parameters.
* avfiltergraph: try to reduce format conversions in filters.Anton Khirnov2012-04-01
| | | | | | | | | | | | | Current code, with a filterchain such as (input - yuv411) -> (scale - any) -> (sink - any) will result in yuv420 being chosen for the second link, which is clearly not right. This commit attempts to improve in the following way: repeat until convergence: loop over all filters find input link with exactly one format force this format on all output links of the same type (if possible)
* avfiltergraph: add an AVClass to AVFilterGraph on next major bump.Anton Khirnov2012-04-01
| | | | It will be used for logging, possibly also AVOptions.
* id3v2: fix skipping extended header in id3v2.4Anton Khirnov2012-04-01
| | | | In v2.4, the length includes the length field itself.
* apedec: check bits <= 32.Michael Niedermayer2012-03-31
| | | | | | | | | | 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-31
| | | | | | | 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-30
| | | | | | | | | | | | | | 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-30
| | | | | | | | 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-30
| | | | This fixes speex decoding, which was broken in 85469f1c.
* smacker audio: sign-extend the initial 16-bit predicted valueFranz Brauße2012-03-30
| | | | | | Fixes Bug #265 Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* h264: drop ff_h264_ prefix from static function ff_h264_decode_rbsp_trailing()Diego Biurrun2012-03-30
|
* h264: Make ff_h264_decode_end() static, it is not used externally.Diego Biurrun2012-03-30
| | | | Also drop the now unnecessary ff_ prefix from its name.
* output-example: K&R formatting cosmetics, comment spelling fixesDiego Biurrun2012-03-30
|
* avf: make the example output the proper messageLuca Barbato2012-03-29
| | | | | av_dump_format needs the codecs opened in order to print them.
* avf: fix audio writing in the output-exampleLuca Barbato2012-03-29
| | | | | 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-29
| | | | | | | | 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-29
|
* truemotion: forbid invalid VLC bitsizes and token values.Ronald S. Bultje2012-03-29
| | | | | | | | | | | | 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-29
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* configure: Check for a different SDL functionMartin Storsjö2012-03-29
| | | | | | | | | | | | | 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>
* mp3dec: perform I/S and M/S only when frame mode is joint stereo.Kostya Shishkov2012-03-29
| | | | | | Looks like some LAME versions produce dual stereo mode MP3s with flags for intensity and middle stereo set. In this mode those flags should be ignored like the reference decoder and derived ones do.
* id3v2: add another mimetype for JPEG imageKostya Shishkov2012-03-29
|
* lzw: prevent buffer overreads.Ronald S. Bultje2012-03-28
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* WMAL: Remove inaccurate and unnecessary doxyMashiat Sarker Shakkhar2012-03-29
| | | | | | | | A call to decode_packet() does not always decode a complete WMA packet. Moreover, this is not the correct place to document calls that are part of the public API. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* h264: fix cabac-on-stack after safe cabac reader.Ronald S. Bultje2012-03-28
|
* truemotion2: convert packet header reading to bytestream2.Ronald S. Bultje2012-03-28
| | | | | | | | Also use correct buffer sizes in calls to tm2_read_stream(). Together, this prevents overreads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* asf: only set index_read if the index contained entries.Ronald S. Bultje2012-03-28
| | | | | This allows falling back to a binary search if the file contains no index, thus fixing seeking in such files (e.g. luckynight.wma).
* cabac: add overread protection to BRANCHLESS_GET_CABAC().Ronald S. Bultje2012-03-28
| | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* cabac: increment jump locations by one in callers of BRANCHLESS_GET_CABAC().Ronald S. Bultje2012-03-28
|
* cabac: remove unused argument from BRANCHLESS_GET_CABAC_UPDATE().Ronald S. Bultje2012-03-28
|
* cabac: use struct+offset instead of memory operand in BRANCHLESS_GET_CABAC().Ronald S. Bultje2012-03-28
|
* h264: add overread protection to get_cabac_bypass_sign_x86().Ronald S. Bultje2012-03-28
|
* h264: reindent get_cabac_bypass_sign_x86().Ronald S. Bultje2012-03-28
|
* h264: use struct offsets in get_cabac_bypass_sign_x86().Ronald S. Bultje2012-03-28
|
* h264: fix overreads in cabac reader.Ronald S. Bultje2012-03-28
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* wmall: fix seeking.Ronald S. Bultje2012-03-28
|
* lagarith: fix buffer overreads.Ronald S. Bultje2012-03-28
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* dvdec: drop unnecessary dv_tablegen.h #includeDiego Biurrun2012-03-28
| | | | | dvdec.c uses nothing from dv_tablegen.h. As a welcome side-effect, this fixes compilation of that file with hardcoded tables enabled.
* build: fix doc generation errors in parallel buildsMans Rullgard2012-03-28
| | | | | | | | | | The $(dir) function used to construct OBJDIRS includes a trailing slash in the names returned, which GNU make 3.82 does not match to the slash-less 'doc' in the documentation dependencies, causing parallel build to fail. Adding a slash fixes this and still works with make 3.81. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace memset(0) by zero initializations.Diego Biurrun2012-03-28
| | | | Also remove one pointless zero initialization in rangecoder.c.
* faandct: Remove FAAN_POSTSCALE define and related code.Diego Biurrun2012-03-28
| | | | It is not a user-accessible option and unlikely to ever be changed.
* dvenc: print allowed profiles if the video doesn't conform to any of them.Anton Khirnov2012-03-28
|