aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | vc1: avoid reading beyond the last line in vc1_draw_sprites()Michael Niedermayer2012-03-011-2/+2
| | | | | | | | | | | | | | | | | | | | | Fixes overread Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | eatgq: Pass error code from tgq_decode_mb() and let the caller fail.Michael Niedermayer2012-03-011-4/+7
| | | | | | | | | | | | | | | | | | | | | This fixes a over read. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | vc1: fix out of array reads in vc1_inv_trans_4x4_c()Michael Niedermayer2012-03-011-5/+4
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | vc1: fix out of array reads in vc1_inv_trans_4x8_c()Michael Niedermayer2012-03-011-9/+8
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | vc1: fix out of array reads in vc1_inv_trans_8x4_c()Michael Niedermayer2012-03-011-5/+4
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | mpc: Fix mpc_CC table and use.Michael Niedermayer2012-03-012-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | This is based on the reference implementation and fixes a global out of array read. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | mpc: Fix mpc_SCF use and content.Michael Niedermayer2012-03-012-5/+37
| | | | | | | | | | | | | | | | | | | | | | | | This fixes a out of global array read. This change is based on the reference mpc imlementation. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | rv34dsp: avoid use of crop table for idct.Michael Niedermayer2012-03-011-5/+4
| | | | | | | | | | | | | | | | | | | | | Fixes out of array read. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | mpegaudiodec: Enable checked bitstream reader.Michael Niedermayer2012-03-011-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | It appears there are corner cases with damaged input that can lead to small overreads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | mpegaudiodec: change granule skip code to avoid false checked bitstream ↵Michael Niedermayer2012-03-011-15/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | reader errors. Code ported from qatar/master, please see there for per line authorship. Main authors AFAIK are Ronald and Justin. I have no authorship on this. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | svq3dec: fix overread of the cliping table.Michael Niedermayer2012-03-011-5/+4
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | eval: fix infinite loop on opensolaris x86.Michael Niedermayer2012-03-011-2/+2
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-0164-519/+1217
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (58 commits) amrnbdec: check frame size before decoding. cscd: use negative error values to indicate decode_init() failures. h264: prevent overreads in intra PCM decoding. FATE: do not decode audio in the nuv test. dxa: set audio stream time base using the sample rate psx-str: do not allow seeking by bytes asfdec: Do not set AVCodecContext.frame_size vqf: set packet parameters after av_new_packet() mpegaudiodec: use DSPUtil.butterflies_float(). FATE: add mp3 test for sample that exhibited false overreads fate: add cdxl test for bit line plane arrangement vmnc: return error on decode_init() failure. libvorbis: add/update error messages libvorbis: use AVFifoBuffer for output packet buffer libvorbis: remove unneeded e_o_s check libvorbis: check return values for functions that can return errors libvorbis: use float input instead of s16 libvorbis: do not flush libvorbis analysis if dsp state was not initialized libvorbis: use VBR by default, with default quality of 3 libvorbis: fix use of minrate/maxrate AVOptions ... Conflicts: Changelog doc/APIchanges libavcodec/avcodec.h libavcodec/dpxenc.c libavcodec/libvorbis.c libavcodec/vmnc.c libavformat/asfdec.c libavformat/id3v2enc.c libavformat/internal.h libavformat/mp3enc.c libavformat/utils.c libavformat/version.h libswscale/utils.c tests/fate/video.mak tests/ref/fate/nuv tests/ref/fate/prores-alpha tests/ref/lavf/ffm tests/ref/vsynth1/prores tests/ref/vsynth2/prores Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | amrnbdec: check frame size before decoding.Vitor Sessak2012-02-291-0/+8
| | | | | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * | cscd: use negative error values to indicate decode_init() failures.Ronald S. Bultje2012-02-291-2/+2
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | h264: prevent overreads in intra PCM decoding.Ronald S. Bultje2012-02-291-0/+2
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | FATE: do not decode audio in the nuv test.Justin Ruggles2012-02-292-20/+1
| | | | | | | | | | | | We already have sufficient coverage for 16-bit pcm.
| * | dxa: set audio stream time base using the sample rateJustin Ruggles2012-02-291-0/+2
| | |
| * | psx-str: do not allow seeking by bytesJustin Ruggles2012-02-291-0/+1
| | |
| * | asfdec: Do not set AVCodecContext.frame_sizeJustin Ruggles2012-02-291-20/+0
| | |
| * | vqf: set packet parameters after av_new_packet()Justin Ruggles2012-02-291-3/+3
| | | | | | | | | | | | Otherwise the values are overwritten.
| * | mpegaudiodec: use DSPUtil.butterflies_float().Vitor Sessak2012-02-291-0/+7
| | | | | | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * | FATE: add mp3 test for sample that exhibited false overreadsJustin Ruggles2012-02-291-0/+5
| | | | | | | | | | | | | | | related to b7165426917f91ebcad84bdff366824f03b32bfe Error messages and audible artifacts were fixed in that commit.
| * | fate: add cdxl test for bit line plane arrangementPaul B Mahol2012-02-292-0/+14
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
| * | vmnc: return error on decode_init() failure.Ronald S. Bultje2012-02-291-0/+1
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | libvorbis: add/update error messagesJustin Ruggles2012-02-291-9/+19
| | | | | | | | | | | | also use AVERROR codes for some return values instead of -1
| * | libvorbis: use AVFifoBuffer for output packet bufferJustin Ruggles2012-02-291-18/+17
| | | | | | | | | | | | simplifies the code and does less memmove()
| * | libvorbis: remove unneeded e_o_s checkJustin Ruggles2012-02-291-4/+0
| | | | | | | | | | | | | | | vorbis_bitrate_flushpacket() does not return any packets that should not be output in the bitstream.
| * | libvorbis: check return values for functions that can return errorsJustin Ruggles2012-02-291-7/+15
| | |
| * | libvorbis: use float input instead of s16Justin Ruggles2012-02-291-3/+3
| | | | | | | | | | | | | | | libvorbis takes float input, so we can just deinterleave/reorder the input as-is instead of also converting.
| * | libvorbis: do not flush libvorbis analysis if dsp state was not initializedJustin Ruggles2012-02-291-1/+4
| | | | | | | | | | | | Fixes a segfault if init() fails before initializing the dsp state
| * | libvorbis: use VBR by default, with default quality of 3Justin Ruggles2012-02-291-2/+12
| | |
| * | libvorbis: fix use of minrate/maxrate AVOptionsJustin Ruggles2012-02-292-5/+5
| | | | | | | | | | | | | | | | | | - enable the options for audio encoding - properly check for user-set maxrate - use correct calling order in vorbis_encode_setup_managed()
| * | libvorbis: cosmetics: renaming/pretty-printing/comments/unused codeJustin Ruggles2012-02-291-109/+115
| | |
| * | (e)ac3enc: select a default bit rate based on the channel layoutJustin Ruggles2012-02-295-0/+20
| | |
| * | ac3enc: choose the closest bit rate to the one requested instead of failingJustin Ruggles2012-02-291-6/+11
| | |
| * | rpza: error out on buffer overreads.Ronald S. Bultje2012-02-291-0/+4
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | qtrle: return error on decode_init() failure.Ronald S. Bultje2012-02-291-1/+1
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | swscale: fix another integer overflow.Ronald S. Bultje2012-02-291-1/+1
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | dpxenc: Don't include the libavcodec ident if bitexact mode is enabledMartin Storsjö2012-02-292-2/+3
| | | | | | | | | | | | | | | | | | This avoids breaking fate every time the lavc version is bumped. Signed-off-by: Martin Storsjö <martin@martin.st>
| * | rtpenc: Fix setting the max packet sizeMartin Storsjö2012-02-291-1/+1
| | | | | | | | | | | | | | | | | | | | | This fixes cases where the user had specified one desired MTU via an option, and the protocol indicates another one. Signed-off-by: Martin Storsjö <martin@martin.st>
| * | Add a minor bump, changelog/APIchanges entry and some documentation for APIC ↵Anton Khirnov2012-02-294-1/+40
| | | | | | | | | | | | support.
| * | mp3enc: write attached pictures (APIC).Anton Khirnov2012-02-291-7/+113
| | |
| * | mp3enc: move mp3_write_xing() further up in the file.Anton Khirnov2012-02-291-45/+49
| | | | | | | | | | | | It will be need by new functions called from mp3_write_trailer().
| * | id3v2enc: add a function for writing attached pictures.Anton Khirnov2012-02-292-9/+87
| | | | | | | | | | | | Unused so far.
| * | id3v2enc: fix writing frame sizes for ID3v2.3Anton Khirnov2012-02-291-11/+15
| | | | | | | | | | | | | | | | | | | | | Frame sizes in ID3v2.3 are not synchsafe, they are simply 32be numbers. In practice this bug is not noticeable unless the frame size takes more than 7 bits (which is almost never for text frames).
| * | id3v2enc: split ff_id3v2_write().Anton Khirnov2012-02-294-26/+68
| | | | | | | | | | | | | | | This will allow writing the tag in several steps, needed for writing attached pictures.
| * | id3v2enc: make id3v2_put_size take only an AVIOContext.Anton Khirnov2012-02-291-7/+7
| | | | | | | | | | | | It has no need of full AVFormatContext.
| * | id3v2: remove unused ff_id3v2_read().Anton Khirnov2012-02-294-15/+5
| | | | | | | | | | | | Rename ff_id3v2_read_all to ff_id3v2_read().
| * | lavf: export id3v2 attached pictures as streams.Anton Khirnov2012-02-293-1/+48
| | |