summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* qdm2: disable superblocktype_2_3==0 codeMichael Niedermayer2013-02-03
| | | | | | | | The code is untested and contained bugs, we need a sample if any files use this branch. Suggested-by: Roberto Togni Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* qdm2: Fix data type used in multiplication.Michael Niedermayer2013-02-03
| | | | | | | Avoid unintended truncation. Fixes CID700555 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* put_vp_no_rnd_pixels8_l2_mmx: fix typeMichael Niedermayer2013-02-03
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/x86: Add daniels copyright to the recent gcc->yasm convertions he did.Michael Niedermayer2013-02-03
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* proresdsp: Fix checkheadersJames Almer2013-02-03
| | | | | | | It's been broken since commit ac89875 Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* h264: skip error concealment when SPS and slices are mismatchingMichael Niedermayer2013-02-02
| | | | | | | Fixes out of array accesses Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* flacdec: skip in stream header packetsMichael Niedermayer2013-02-02
| | | | | | This prevents warning messages on chained oggs with some demuxers Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* h264: silence warning about array index being out of boundsMichael Niedermayer2013-02-02
| | | | | | | The index is not out of bounds, adding an assert makes gcc realize this. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vp56: remove clear_blocks call, and clear alpha plane U/V DC only.Ronald S. Bultje2013-02-01
| | | | | | | | The non-alpha and alpha-Y planes are cleared in the idct_put/add() calls. For the alpha U/V planes, we only care about the DC for entropy context prediction purposes, the rest of the data is unused. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-02-01
|\ | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Use proper "" quotes for local header #includes ppc: fmtconvert: Drop two unused variables. bink demuxer: set framerate. Conflicts: libavcodec/kbdwin.c libavcodec/ppc/fmtconvert_altivec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Use proper "" quotes for local header #includesDiego Biurrun2013-02-01
| |
| * ppc: fmtconvert: Drop two unused variables.Diego Biurrun2013-02-01
| |
* | Merge commit 'f2960097e42ddf9a356bab6547f87906f6999e0a'Michael Niedermayer2013-02-01
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit 'f2960097e42ddf9a356bab6547f87906f6999e0a': bink: fix a check for the first frame. doc/developer: Drop obsolete MPlayer reference doc/developer: Add ISC license to list of acceptable licenses doc/developer: Add web links for all suggested licenses Conflicts: doc/developer.texi Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * bink: fix a check for the first frame.Anton Khirnov2013-02-01
| | | | | | | | | | Packet pts is a very unreliable indicator, use AVCodecContext.frame_number instead.
* | Merge remote-tracking branch 'mjbshaw/master'Michael Niedermayer2013-02-01
|\ \ | | | | | | | | | | | | | | | | | | | | | * mjbshaw/master: libopenjpegenc: simplify switch statement libopenjpegenc: add support for pix fmt gbrp (8-16 bit) Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | libopenjpegenc: simplify switch statementMichael Bradshaw2013-01-31
| | | | | | | | | | | | Signed-off-by: Michael Bradshaw <mjbshaw@gmail.com>
| * | libopenjpegenc: add support for pix fmt gbrp (8-16 bit)Michael Bradshaw2013-01-31
| | | | | | | | | | | | Signed-off-by: Michael Bradshaw <mjbshaw@gmail.com>
* | | vc1dec: fieldtx is only valid for interlaced framesSebastian Sandberg2013-02-01
| | | | | | | | | | | | | | | | | | the fieldtx_plane is not cleared for interlaced fields Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | vc1dec: fix block_offMichael Niedermayer2013-01-31
| | | | | | | | | | | | | | | | | | Fixes corruption of motion_val Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-01-31
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | * qatar/master: x86: hpel: Move {avg,put}_pixels16_sse2 to hpeldsp configure: Add a comment indicating why uclibc is checked before glibc Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | x86: hpel: Move {avg,put}_pixels16_sse2 to hpeldspDiego Biurrun2013-01-31
| | |
* | | Merge commit 'a65f965c04bfa27adedc0409c14cc05903f483d0'Michael Niedermayer2013-01-31
|\| | | | | | | | | | | | | | | | | | | | * commit 'a65f965c04bfa27adedc0409c14cc05903f483d0': mpegvideo: Do REBASE_PICTURE with byte pointers Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | mpegvideo: Do REBASE_PICTURE with byte pointersMartin Storsjö2013-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | REBASE_PICTURE (more specifically, this half of it) takes a Picture pointer that points into one larger struct, finds the offset of that Picture within the struct and finds the corresponding field within another instance of a similar struct. The pointer difference "pic - (Picture*)old_ctx" is a value given in sizeof(Picture) units, and when applied back on (Picture*)new_ctx gets multiplied back with sizeof(Picture). Many compilers seem to optimize out this division/multiplication, but not all do. GCC 4.2 on OS X doesn't seem to remove the division/multiplication, therefore the new pointer didn't turn out to point to exactly the right place in the new struct since it only had sizeof(Picture) granularity (and the Picture is not aligned on a sizeof(Picture) boundary within the encompassing struct). This bug has been present before 47318953d as well - with H264, pointers to h->ref_list[0][0] pointed to 88 bytes before h->ref_list[0][0] after the rebase. After shrinking Picture, the difference ended up even larger, making writes via such a Picture pointer overwrite other fields at random in H264Context, ending up in crashes later. This fixes H264 multithreaded decoding on OS X with GCC 4.2. Signed-off-by: Martin Storsjö <martin@martin.st>
* | | Merge commit 'a5ba798c16d0614d982a76755fdd72b37d437170'Michael Niedermayer2013-01-31
|\| | | |/ |/| | | | | | | | | * commit 'a5ba798c16d0614d982a76755fdd72b37d437170': dsputil: remove unused functions copy_block{2, 4, 8, 16}. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: remove unused functions copy_block{2, 4, 8, 16}.Ronald S. Bultje2013-01-30
| |
* | h264/cabac: check loop indexMichael Niedermayer2013-01-31
| | | | | | | | | | | | | | fix out of array read Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mips: optimization for float aac decoder (core module)Mirjana Vulin2013-01-31
| | | | | | | | | | Signed-off-by: Mirjana Vulin <mvulin@mips.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | interplayvideo: Free previous frames on resolution changes.Michael Niedermayer2013-01-31
| | | | | | | | | | | | | | Fixes out of array reads Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | loco: fix rgba on big-endianPiotr Bandurski2013-01-31
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | flashsv: clear blocks array on reallocationMichael Niedermayer2013-01-30
| | | | | | | | | | | | | | Fixes use of uninitialized data Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | wma: check byte_offset_bitsMichael Niedermayer2013-01-30
| | | | | | | | | | | | | | Fixes assertion failure Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dnxhddec: fix integer overflow / index checkMichael Niedermayer2013-01-30
| | | | | | | | | | | | | | Fixes out of array read Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mss3: prevent AC state from becoming invalid in rac_normalise()Michael Niedermayer2013-01-30
| | | | | | | | | | | | | | Fixes division by zero Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | msrledec: merge switchesMichael Niedermayer2013-01-30
| | | | | | | | | | | | More speedup and fixes 'may be used uninitialized in this function' warnings Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | msrledec: move loop into switchMichael Niedermayer2013-01-30
| | | | | | | | | | | | speeds up code and allows more simplifications Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | msrledec: move output pointer test upMichael Niedermayer2013-01-30
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpegvideo_enc: factor expression outMichael Niedermayer2013-01-30
| | | | | | | | | | | | Fixes "warning: dc[0..5] may be used uninitialized in this function" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-01-30
|\| | | | | | | | | | | | | | | * qatar/master: movenc: Simplify code by using avio_wb24 bfin: unbreak compilation Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * bfin: unbreak compilationLuca Barbato2013-01-29
| | | | | | | | Added a missing header file.
* | dirac/x86: fix compile without yasmMichael Niedermayer2013-01-30
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dirac/x86: fix compile without inline asmMichael Niedermayer2013-01-30
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fix 1bpp palettized png with width not a multiple of 8.Carl Eugen Hoyos2013-01-30
| | | | | | | | Fixes ticket #2204.
* | sanm: Check MV before using them.Michael Niedermayer2013-01-29
| | | | | | | | | | | | | | Fixes out of array reads Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | huffyuvdec: Skip len==0 casesMichael Niedermayer2013-01-29
| | | | | | | | | | | | Fixes vlc decoding for hypothetical files that would contain such cases. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | huffyuvdec: check for and propagate failures from inside generate_joint_tables()Michael Niedermayer2013-01-29
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | huffyuvdec: Check init_vlc() return codes.Michael Niedermayer2013-01-29
| | | | | | | | | | | | | | Prevents out of array writes Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ac3enc: fix 'warning: block0 may be used uninitialized in this function'Michael Niedermayer2013-01-29
| | | | | | | | | | | | The pointer is also initialized to NULL for safety. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'f81c37e40fe3236d54da12aef9cdba48ba70ec31'Michael Niedermayer2013-01-29
|\| | | | | | | | | | | | | | | | | | | * commit 'f81c37e40fe3236d54da12aef9cdba48ba70ec31': vf_delogo: fix an uninitialized read. h264: remove obsolete comment. mpegvideo: remove some unused variables from Picture. utvideoenc/v410enc: do not set AVFrame.reference. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * h264: remove obsolete comment.Anton Khirnov2013-01-29
| |
| * mpegvideo: remove some unused variables from Picture.Anton Khirnov2013-01-29
| |