summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* | mpegvideo: check return value of ff_MPV_common_init()Michael Niedermayer2012-10-14
| | | | | | | | | | Fixes CID703621 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec_find_best_pix_fmt_of_2: fix handling or PIX_FMT_NONEMichael Niedermayer2012-10-14
| | | | | | | | | | Fixes CID733775 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | flashsv: check deflateInit() return valueMichael Niedermayer2012-10-13
| | | | | | | | | | Fixes CID703620 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dnxhdenc: assert ff_dnxhd_get_cid_table() return valueMichael Niedermayer2012-10-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dnxhddata_ Fix mixup of sizeof() and array elements in ff_dnxhd_find_cid()Michael Niedermayer2012-10-13
| | | | | | | | | | Fixes CID717910 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1: make sure gob_count is not 0Michael Niedermayer2012-10-13
| | | | | | | | | | | | | | Fixes division by 0 Fixes CID733736 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc/codec_desc: add/update properties of some codecsPaul B Mahol2012-10-13
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | xbmdec: s/av_reverse/ff_reversePaul B Mahol2012-10-13
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavc: return s->get_buffer() error code if it errors outPaul B Mahol2012-10-13
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | pngenc: write sample aspect ratioPaul B Mahol2012-10-13
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | pngdec: read sample aspect ratioPaul B Mahol2012-10-13
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-10-13
|\| | | | | | | | | | | | | | | | | | | | | | | * qatar/master: vc1: Use codec ID from AVCodecContext while parsing frame header avplay: support mid-stream sample rate changes Conflicts: ffplay.c libavcodec/vc1.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vc1: Use codec ID from AVCodecContext while parsing frame headerMashiat Sarker Shakkhar2012-10-13
| | | | | | | | | | | | | | This fixes a segfault with samples that I have (both of them MPEG-TS). Looks like avctx->codec is not being set during parsing. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* | Merge commit 'f5962229bfcb14c2879e69ccdf7f1a4934168609'Michael Niedermayer2012-10-13
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'f5962229bfcb14c2879e69ccdf7f1a4934168609': avplay: use audio parameters from the decoded frame instead of AVCodecContext dca: allocate a secondary buffer for extra channels when downmixing configure: use utilities from /usr/xpg4/bin if it exists avstring-test: fix memory leaks Conflicts: ffplay.c libavcodec/dcadec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dca: allocate a secondary buffer for extra channels when downmixingJustin Ruggles2012-10-13
| | | | | | | | | | The output AVFrame buffer only has data for the downmix channels. Fixes a segfault when decoding dca with request_channels == 2.
* | Merge commit '0a7005bebd23ade7bb852bce0401af1a8fdbb723'Michael Niedermayer2012-10-13
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '0a7005bebd23ade7bb852bce0401af1a8fdbb723': rtpdec_xiph: fix function return type smjpeg: fix type of 'ret' variable in smjpeg_read_packet() mpegvideo: remove write-only variable Use proper return values in case of missing features fate: add avstring test rangecoder-test: Set error message log level to error, instead of debug Conflicts: libavcodec/aacdec.c libavcodec/amrnbdec.c libavcodec/mpegvideo.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mpegvideo: remove write-only variableMans Rullgard2012-10-12
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Use proper return values in case of missing featuresDiego Biurrun2012-10-12
| |
| * rangecoder-test: Set error message log level to error, instead of debugDiego Biurrun2012-10-12
| |
* | Merge commit '90558e848a29ef1e85ecb1832ad9a26eebe958e0'Michael Niedermayer2012-10-13
|\| | | | | | | | | | | | | | | | | | | | | * commit '90558e848a29ef1e85ecb1832ad9a26eebe958e0': rangecoder: K&R formatting cosmetics Conflicts: libavcodec/rangecoder.c libavcodec/rangecoder.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rangecoder: K&R formatting cosmeticsDiego Biurrun2012-10-12
| |
* | Merge commit 'ca411fc1d34329cd17b28627f697e391ae52073f'Michael Niedermayer2012-10-13
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'ca411fc1d34329cd17b28627f697e391ae52073f': avcodec: Remove broken MMI optimizations Conflicts: arch.mak configure libavcodec/avcodec.h libavcodec/mips/Makefile libavcodec/mips/dsputil_mmi.c libavcodec/mips/idct_mmi.c libavcodec/mips/mmi.h libavcodec/mips/mpegvideo_mmi.c libavcodec/options_table.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avcodec: Remove broken MMI optimizationsDiego Biurrun2012-10-12
| | | | | | | | The code fails to compile and is broken beyond repair.
* | Merge commit 'bc4620e5d61a4dd9a1f654fadd281a172aab04be'Michael Niedermayer2012-10-13
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'bc4620e5d61a4dd9a1f654fadd281a172aab04be': Remove libmpeg2 #define remnants De-doxygenize some top-level files Conflicts: ffmpeg.c ffmpeg.h ffmpeg_filter.c ffplay.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Remove libmpeg2 #define remnantsDiego Biurrun2012-10-12
| |
* | Merge commit 'd5c62122a7b26704bf867a1262df358623bf5edf'Michael Niedermayer2012-10-13
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit 'd5c62122a7b26704bf867a1262df358623bf5edf': Move av_reverse table to libavcodec Conflicts: libavcodec/asvenc.c libavcodec/vble.c libavutil/common.h libavutil/mathematics.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Move av_reverse table to libavcodecDiego Biurrun2012-10-12
| | | | | | | | It is only used in that library.
* | Merge commit '930c9d4373e0f3cb7c64fcfc129127a309f6d066'Michael Niedermayer2012-10-13
|\| | | | | | | | | | | | | * commit '930c9d4373e0f3cb7c64fcfc129127a309f6d066': avutil: Duplicate ff_log2_tab instead of sharing it across libs Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avutil: Duplicate ff_log2_tab instead of sharing it across libsDiego Biurrun2012-10-12
| | | | | | | | | | The table is so small that the space gain is not worth the performance overhead of cross-library access.
| * tscc2: Fix an out of array accessMichael Niedermayer2012-10-12
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * vp8: reset loopfilter delta values at keyframes.Sami Pietila2012-10-12
| | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * avutil: add yuva422p and yuva444p formatsLuca Barbato2012-10-12
| |
* | vp8dec: reset loopfilter delta values at keyframesSami Pietilä2012-10-13
| | | | | | | | | | | | | | | | | | while testing a VP8 encoder I found a mismatch between FFMPEG and libvpx VP8 decoders. The reason for this mismatch is that FFMPEG doesn't reset loopfilter delta values at keyframes. Patch that fixes the issue is below. I've verified that the output of ffmpeg after this patch matches libvpx. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pcxenc: store sample aspect ratioPaul B Mahol2012-10-13
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | pcx: read sample aspect ratioPaul B Mahol2012-10-13
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | bethsoftvideo: return meaningfull error codesPaul B Mahol2012-10-13
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | truemotion2: use more meaningful return codesPaul B Mahol2012-10-13
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | jpegls: increase run_index to 4Michael Niedermayer2012-10-13
| | | | | | | | | | Fixes part of CID717913 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | jpegls: fix off limitMichael Niedermayer2012-10-13
| | | | | | | | | | Fixes part of CID717913 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | rv30_decode_intra_types: make check tighterMichael Niedermayer2012-10-13
| | | | | | | | | | | | | | This makes no differnce as the affected values cannot occur But it will likely help static analyzers Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ff_celp_lp_synthesis_filterf: change loop end checkMichael Niedermayer2012-10-13
| | | | | | | | | | | | | | | | This makes no difference for supported input but avoids a out of array read with input that is never passed in currently Fixes CID717919 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ff_celp_lp_synthesis_filterf: check that filter_length is within the ↵Michael Niedermayer2012-10-13
| | | | | | | | | | | | supported range Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1: avoid checking a double for equalityMichael Niedermayer2012-10-13
| | | | | | | | | | | | | | | | | | if 0.0 != 0.0 a out of array read would occur, equal checks with floating point may behave in such odd ways, though this is very unlikely in a real implementation of a compiler Fixes: CID718936 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | aacsbr: change order of operation to prevent out of array readMichael Niedermayer2012-10-13
| | | | | | | | | | Fixes CID732250 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fix writing 12 bit DPXGeorg Lippitsch2012-10-13
| | | | | | | | | | | | | | | | The DPX encoder now writes 12 DPX that open correctly (tested with ImageMagick), and also correspond to the 12 bit sample files at http://samples.ffmpeg.org/image-samples/dpx_samples.zip Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fix DPX decoderGeorg Lippitsch2012-10-13
| | | | | | | | | | | | | | | | | | | | | | | | | | Rewrite the DPX decoder to work with provided sample DPXs at http://samples.ffmpeg.org/image-samples/dpx_samples.zip The decoder could only decode 8 and 10 bit without alpha correctly, failing or even crashing at other flavors. This patch aims to fix these issues, properly decoding all variants of DPX provided in the referenced DPX sample zip. For 10 and 12 bit, the alpha channel is ignored, but decoding is still possible. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpeg4videodec: disable frame multithreading for GMC, its not implemented at allMichael Niedermayer2012-10-12
| | | | | | | | | | | | This fixes race conditions in decoding MPEG-4 GMC files Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | motion_est: more complete SAB diamond size checkMichael Niedermayer2012-10-12
| | | | | | | | | | | | | | This makes no difference with the current #defines Fixes CID732255 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | exr: fix twin ;Michael Niedermayer2012-10-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc: do not use av_pix_fmt_descriptors directlyPaul B Mahol2012-10-12
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>