summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* 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
|
* avcodec_encode_{audio,video}: only reallocate output packet when it has ↵Anton Khirnov2012-03-28
| | | | | | | non-zero size. Otherwise realloc would free it, which would result in double free later.
* FATE: add a test for vp8 with changing frame size.Anton Khirnov2012-03-28
|
* fate: add kgv1 fate test.Ronald S. Bultje2012-03-27
| | | | Tested to be bit-exact across x86-64, x86-32 and ppc.
* oggdec: calculate correct timestamps in Ogg/FLACJustin Ruggles2012-03-27
| | | | | We need to parse the individual packet durations when there is more than one packet in a page.
* westwood_vqa: fix SND0 chunk handlingPaul B Mahol2012-03-27
| | | | | | | | Version from vqa header does not dictate which sound chunks may appear in file. Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* westwood_vqa: set video stream durationPaul B Mahol2012-03-27
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* raw: forward avpicture_fill() error code in raw_decode().Ronald S. Bultje2012-03-27
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* build: Do not explicitly add the doc directory to the OBJDIRS list.Diego Biurrun2012-03-27
| | | | | | Now that a documentation generator is built in the doc directory, this is no longer necessary. Fixes the Make warning: Makefile:188: target `doc' given more than once in the same rule.
* dv: Split off DV video decoder into its own file.Diego Biurrun2012-03-27
|
* build: fix RALF decoder standalone compilation, which depends on Golomb codeDiego Biurrun2012-03-27
|
* configure: Drop stray duplicate entry for --disable-fft from help output.Diego Biurrun2012-03-27
|
* make av_interleaved_write_frame() flush packets when pkt is NULLJindrich Makovicka2012-03-27
| | | | | | | | This patch allows the user to force flushing of all queued packets by calling av_interleaved_write_frame() with pkt set to NULL. Signed-off-by: Jindrich Makovicka <jindrich.makovicka@nangu.tv> Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegts: Fix dead error checksAlex Converse2012-03-26
|
* vc1: Do not read from array if index is invalid.Mashiat Sarker Shakkhar2012-03-26
| | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* targa: convert to bytestream2.Ronald S. Bultje2012-03-26
| | | | | | | Also remove some write-only variables or write-only variable assignments, remove internal colorspace conversion to native endianness (that can be done by swscale much more efficiently), and some cosmetics.
* rv34: set mb_num_left to 0 after finishing a frameRonald S. Bultje2012-03-26
| | | | | | | | | | | | | Prevents running error resilience on a previous frame which will write to the pic->mb_type[] array of the previous image. The array might already be re-used for a new image in a subsequent thread, thus cause two threads to write to the same pic->mb_type[] array, causing a race condition which can crash in rv34_decode_cbp(), called by rv34_decode_inter_mb_header() (which accesses mb_type[] twice, assuming values are maintained, which the race condition breaks). Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* build: ppc: drop stray leftover backslashDiego Biurrun2012-03-26
|
* build: Only clean the architecture subdirectory we build for.Diego Biurrun2012-03-26
| | | | | This allows simplifying the Makefiles; it is no longer necessary to register arch subdirectory Makefiles, just putting them in place is enough.
* build: drop some unnecessary dependencies from the H.264 parserDiego Biurrun2012-03-26
|
* build: prettyprinting cosmeticsDiego Biurrun2012-03-26
|
* libavutil: Remove pointless rational test program.Diego Biurrun2012-03-26
|
* libavutil: Remove broken and pointless lzo test program.Diego Biurrun2012-03-26
|
* lavf doxy: expand AVStream.codec doxy.Anton Khirnov2012-03-26
|
* lavf doxy: improve AVStream.time_base doxy.Anton Khirnov2012-03-26
| | | | | Remove confusing sentence that implied the user should set the timebase. Elaborate on how the timebase is set for muxing.
* lavf doxy: add some basic documentation about reading from the demuxer.Anton Khirnov2012-03-26
|
* lavf doxy: document passing options to demuxers.Anton Khirnov2012-03-26
|
* lavf doxy: clarify that an AVPacket contains encoded data.Anton Khirnov2012-03-26
|