summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
...
| * | flac: fix infinite loops on all-zero input or end-of-stream.Ronald S. Bultje2012-02-162-1/+10
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
| * | wmapro: change max. block size to 13 bits.Ronald S. Bultje2012-02-164-7/+13
| | | | | | | | | | | | | | | | | | | | | WMApro actually support 13-bits block sizes (potentially even up to 14), and thus we should support that also. If we get block sizes beyond what the decoder can handle (14 is possible depending on s->decode_flags), error out instead of crashing.
* | | y41penc: switch to encode2()Paul B Mahol2012-02-171-9/+13
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | | r210enc: switch to encode2()Paul B Mahol2012-02-171-12/+16
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | | h264: change deblock_h_chroma_8_mmxext() to prevent valgrind confusion.Michael Niedermayer2012-02-171-1/+5
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | Make CDXL palette opaque.Carl Eugen Hoyos2012-02-171-1/+1
| | |
* | | prores: initialise encoder and decoder parts only when neededKostya Shishkov2012-02-171-2/+10
| | |
* | | Makefile: fix proresdec dependanciesZongyao Qu2012-02-171-1/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-177-10/+47
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: shorten: Use separate pointers for the allocated memory for decoded samples. atrac3: Fix crash in tonal component decoding. ws_snd1: Fix wrong samples counts. movenc: Don't set a default sample duration when creating ismv rtp: Factorize the check for distinguishing RTCP packets from RTP golomb: avoid infinite loop on all-zero input (or end of buffer). bethsoftvid: synchronize video timestamps with audio sample rate bethsoftvid: add audio stream only after getting the first audio packet bethsoftvid: Set video packet duration instead of accumulating pts. bethsoftvid: set packet key frame flag for audio and I-frame video packets. bethsoftvid: fix read_packet() return codes. bethsoftvid: pass palette in side data instead of in a separate packet. sdp: Ignore RTCP packets when autodetecting RTP streams proresenc: initialise 'sign' variable mpegaudio: replace memcpy by SIMD code vc1: prevent using last_frame as a reference for I/P first frame. Conflicts: libavcodec/atrac3.c libavcodec/golomb.h libavcodec/shorten.c libavcodec/ws-snd1.c tests/ref/fate/bethsoft-vid Merged-by: Michael Niedermayer <[email protected]>
| * | shorten: Use separate pointers for the allocated memory for decoded samples.Michael Niedermayer2012-02-161-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes invalid free() if any of the buffers are not allocated due to either not decoding a header or an error prior to allocating all buffers. Fixes CVE-2012-0858 CC: [email protected] Signed-off-by: Michael Niedermayer <[email protected]> Signed-off-by: Justin Ruggles <[email protected]>
| * | atrac3: Fix crash in tonal component decoding.Michael Niedermayer2012-02-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a check to avoid writing past the end of the channel_unit.components[] array. Bug Found by: cosminamironesei Fixes CVE-2012-0853 CC: [email protected] Signed-off-by: Michael Niedermayer <[email protected]> Signed-off-by: Justin Ruggles <[email protected]>
| * | ws_snd1: Fix wrong samples counts.Michael Niedermayer2012-02-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the check that avoids overwrite of the samples array actually work properly. fixes CVE-2012-0848 CC: [email protected] Signed-off-by: Michael Niedermayer <[email protected]> Signed-off-by: Justin Ruggles <[email protected]>
| * | golomb: avoid infinite loop on all-zero input (or end of buffer).Ronald S. Bultje2012-02-161-2/+2
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
| * | bethsoftvid: pass palette in side data instead of in a separate packet.Justin Ruggles2012-02-161-3/+11
| | | | | | | | | | | | | | | | | | Update FATE reference to account for now non-existent palette packet. This also fixes the FATE test if frame data is not initialized in get_buffer(), so update comment in avconv accordingly.
| * | proresenc: initialise 'sign' variableKostya Shishkov2012-02-161-0/+2
| | |
| * | mpegaudio: replace memcpy by SIMD codeChristophe GISQUET2012-02-151-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By replacing memcpy with an unrolled loop using the alignment knowledge it has, some speedup can be obtained. Before (gcc 4.6.1): ~400 cycles After: ~370 cycles Overall, around 2% speed increase when decoding a 2400s mp3 to f32le. Signed-off-by: Ronald S. Bultje <[email protected]>
| * | vc1: prevent using last_frame as a reference for I/P first frame.Ronald S. Bultje2012-02-151-2/+9
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
* | | g729dec: fix 'warning: assignment from incompatible pointer type'Michael Niedermayer2012-02-161-1/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | g729dec: fix use of deprecated functions.Michael Niedermayer2012-02-161-1/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | diracdec: fix use of deprecated funnctionsMichael Niedermayer2012-02-161-1/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | qtrleenc: fix uninitialized variable warningsMichael Niedermayer2012-02-161-2/+2
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | proresdec2: use ff_dsputil_init() avoid deprecated ff_ less variant.Michael Niedermayer2012-02-161-1/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | proresdec2: Fix 16 vs. 8bit compiler warnings.Michael Niedermayer2012-02-161-11/+11
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | snow: zero scratchbuf.Michael Niedermayer2012-02-161-1/+1
| | | | | | | | | | | | | | | | | | This should fix some valgrind warnings. Signed-off-by: Michael Niedermayer <[email protected]>
* | | fate: trying to fix "libavcodec/dct-test.o:(.rodata+0xdc): undefined ↵Michael Niedermayer2012-02-161-2/+2
| | | | | | | | | | | | | | | | | | reference to fdct_altivec" Signed-off-by: Michael Niedermayer <[email protected]>
* | | Merge remote-tracking branch 'shariman/wmall'Michael Niedermayer2012-02-161-18/+24
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * shariman/wmall: Do not try to read residue if ave_mean <= 1 Move some variable declarations to comply with C90 Cosmetics: fix some whitespace errors Support 24-bit decoding wmall: remove ;; Conflicts: libavcodec/wmalosslessdec.c Merged-by: Michael Niedermayer <[email protected]>
| * | Do not try to read residue if ave_mean <= 1Mashiat Sarker Shakkhar2012-02-161-3/+8
| | | | | | | | | | | | | | | | | | Otherwise, we end up with with log(0) or log(1). av_ceil_log2 simply assumes the argument is non-zero and returns wrong result when it is. (Not that there is a proper way of returning an undefined value.)
| * | Move some variable declarations to comply with C90Mashiat Sarker Shakkhar2012-02-161-2/+4
| | |
| * | Cosmetics: fix some whitespace errorsMashiat Sarker Shakkhar2012-02-161-13/+12
| | |
| * | Support 24-bit decodingMashiat Sarker Shakkhar2012-02-161-9/+9
| | |
| * | wmall: remove ;;Michael Niedermayer2012-02-161-1/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | Handle interlaced formats (two coding units together make one full frame)Pilotware2012-02-161-10/+32
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-16171-1027/+1940
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (27 commits) ppc: Add ff_ prefix to nonstatic symbols sh4: Add ff_ prefix to nonstatic symbols mpegvideo: Add ff_ prefix to nonstatic functions rtjpeg: Add ff_ prefix to nonstatic symbols rv: Add ff_ prefix to nonstatic symbols vp56: Add ff_ prefix to nonstatic symbols vorbis: Add ff_ prefix to nonstatic symbols msmpeg4: Add ff_ prefix to nonstatic symbols vc1: Add ff_ prefix to nonstatic symbols msmpeg4: Add ff_ prefixes to nonstatic symbols snow: Add ff_ prefix to nonstatic symbols mpeg12: Add ff_ prefix to nonstatic symbols mpeg4: Add ff_ prefixes to nonstatic symbols lagarith: Add ff_ prefix to lag_rac_init libavcodec: Add ff_ prefix to j_rev_dct* dsputil: Add ff_ prefix to inv_zigzag_direct16 libavcodec: Prefix fdct_ifast, fdct_ifast248 dsputil: Add ff_ prefix to the dsputil*_init* functions libavcodec: Add ff_ prefix to some nonstatic symbols vlc/rl: Add ff_ prefix to the nonstatic symbols ... Conflicts: libavcodec/Makefile libavcodec/allcodecs.c libavcodec/dnxhddec.c libavcodec/ffv1.c libavcodec/h263.h libavcodec/h263dec.c libavcodec/h264.c libavcodec/mpegvideo.c libavcodec/mpegvideo_enc.c libavcodec/nuv.c libavcodec/ppc/dsputil_ppc.c libavcodec/proresdsp.c libavcodec/svq3.c libavcodec/version.h libavformat/dv.h libavformat/dvenc.c libavformat/matroskadec.c Merged-by: Michael Niedermayer <[email protected]>
| * | ppc: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-1510-28/+28
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <[email protected]>
| * | sh4: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-153-5/+5
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <[email protected]>
| * | mpegvideo: Add ff_ prefix to nonstatic functionsMartin Storsjö2012-02-1534-180/+180
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <[email protected]>
| * | rtjpeg: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-153-12/+12
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <[email protected]>
| * | rv: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-156-9/+9
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <[email protected]>
| * | vp56: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-155-48/+48
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <[email protected]>
| * | vorbis: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-153-3/+3
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <[email protected]>
| * | msmpeg4: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-154-21/+21
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <[email protected]>
| * | vc1: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-158-48/+48
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <[email protected]>
| * | msmpeg4: Add ff_ prefixes to nonstatic symbolsMartin Storsjö2012-02-158-98/+98
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <[email protected]>
| * | snow: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-155-27/+23
| | | | | | | | | | | | | | | | | | | | | This allows getting rid of a hack for conflicting symbol/define names. Signed-off-by: Martin Storsjö <[email protected]>
| * | mpeg12: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-153-8/+8
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <[email protected]>
| * | mpeg4: Add ff_ prefixes to nonstatic symbolsMartin Storsjö2012-02-157-44/+44
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <[email protected]>
| * | lagarith: Add ff_ prefix to lag_rac_initMartin Storsjö2012-02-153-3/+3
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <[email protected]>
| * | libavcodec: Add ff_ prefix to j_rev_dct*Martin Storsjö2012-02-154-19/+19
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <[email protected]>
| * | dsputil: Add ff_ prefix to inv_zigzag_direct16Martin Storsjö2012-02-153-5/+5
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <[email protected]>
| * | libavcodec: Prefix fdct_ifast, fdct_ifast248Martin Storsjö2012-02-155-10/+10
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <[email protected]>