summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
...
| * s3tc.h: Add missing #include to fix standalone header compilation.Diego Biurrun2012-03-161-0/+2
| |
* | mpegvideo: don't pretend the first frame is always a key frameWolfram Gloger2012-03-162-2/+9
| | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Wolfram Gloger <[email protected]> Modify the parser initialization so that parsers can set pict_type themselves. Use this in the mpegvideo parser so that initial frames are not unconditionally I frames. I have had this in my tree for several years. Signed-off-by: Michael Niedermayer <[email protected]>
* | sonic: update to new APIMichael Niedermayer2012-03-161-4/+17
| | | | | | | | | | | | Fixes Ticket1075 Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-161-2/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: dxa: remove useless code lavf: don't select an attached picture as default stream for seeking. avconv: remove pointless checks. avconv: check for get_filtered_frame() failure. avconv: remove a pointless check. swscale: convert hscale() to use named arguments. x86inc: add *mp named argument support to DEFINE_ARGS. swscale: convert hscale to cpuflags(). Conflicts: ffmpeg.c libswscale/x86/scale.asm Merged-by: Michael Niedermayer <[email protected]>
| * dxa: remove useless codePaul B Mahol2012-03-151-2/+0
| | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Anton Khirnov <[email protected]>
* | huffyuv: some more constsMichael Niedermayer2012-03-151-3/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | dsputil: mark source of diff_bytes as const.Michael Niedermayer2012-03-153-3/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | dirac: mark some variables const.Michael Niedermayer2012-03-153-7/+7
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | 4xm: make mcdc() src constMichael Niedermayer2012-03-151-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | mpegvideo: fix constness error in ff_MPV_encode_picture()Michael Niedermayer2012-03-152-2/+2
| | | | | | | | | | | | The struct has some of its fields changed, thus is not strictly const. Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-156-56/+92
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: h264: stricter reference limit enforcement. h264: increase reference poc list from 16 to 32. xa_adpcm: limit filter to prevent xa_adpcm_table[] array bounds overruns. snow: check reference frame indices. snow: reject unsupported chroma shifts. Add ffvhuff encoding and decoding regression test anm: convert to bytestream2 API bytestream: add more unchecked variants for bytestream2 API jvdec: unbreak video decoding jv demux: set video stream duration fate: add pam image regression test Conflicts: libavcodec/adpcm.c libavcodec/anm.c libavcodec/h264.c libavcodec/mpegvideo.h libavcodec/snowdec.c Merged-by: Michael Niedermayer <[email protected]>
| * h264: stricter reference limit enforcement.Ronald S. Bultje2012-03-141-5/+8
| | | | | | | | | | | | | | | | | | Progressive images can have only 16 references, error out if there are more, since the data is almost certainly corrupt, and the invalid value will lead to random crashes or invalid writes later on. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
| * h264: increase reference poc list from 16 to 32.Ronald S. Bultje2012-03-141-1/+1
| | | | | | | | | | | | | | | | Interlaced images can have 32 references (16 per field), so limiting the array size to 16 leads to invalid writes. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
| * xa_adpcm: limit filter to prevent xa_adpcm_table[] array bounds overruns.Ronald S. Bultje2012-03-141-5/+20
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
| * snow: check reference frame indices.Michael Niedermayer2012-03-141-9/+21
| | | | | | | | | | | | | | | | Fixes NULL ptr dereference Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected] Signed-off-by: Ronald S. Bultje <[email protected]>
| * snow: reject unsupported chroma shifts.Michael Niedermayer2012-03-141-0/+5
| | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected] Signed-off-by: Ronald S. Bultje <[email protected]>
| * anm: convert to bytestream2 APIPaul B Mahol2012-03-141-31/+29
| | | | | | | | | | | | | | Protects from overreads. Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Ronald S. Bultje <[email protected]>
| * bytestream: add more unchecked variants for bytestream2 APIPaul B Mahol2012-03-141-0/+32
| | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Ronald S. Bultje <[email protected]>
| * jvdec: unbreak video decodingPaul B Mahol2012-03-141-1/+1
| | | | | | | | | | | | | | | | The safe bitstream reader broke it since the buffer size was specified in bytes instead of bits. Signed-off-by: Janne Grunau <[email protected]> CC: [email protected]
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-145-98/+88
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: doc/general: update supported devices table. doc/general: add missing @tab to codecs table. h264: Fix invalid interlaced/progressive MB combinations for direct mode prediction. avconv: reindent avconv: link '-passlogfile' option to libx264 'stats' AVOption. libx264: add 'stats' private option for setting 2pass stats filename. libx264: fix help text for slice-max-size option. http: Clear the auth state on redirects http: Retry auth if it failed due to being stale rtsp: Resend new keepalive commands if they used stale auth rtsp: Retry authentication if failed due to being stale httpauth: Parse the stale field in digest auth dxva2_vc1: pass the overlap flag to the decoder dxva2_vc1: fix decoding of BI frames FATE: add shorthand to wavpack test dfa: convert to bytestream2 API anm decoder: move buffer allocation from decode_init() to decode_frame() h264: improve parsing of broken AVC SPS Conflicts: ffmpeg.c libavcodec/anm.c libavcodec/dfa.c libavcodec/h264.c libavcodec/h264_direct.c libavcodec/h264_ps.c Merged-by: Michael Niedermayer <[email protected]>
| * h264: Fix invalid interlaced/progressive MB combinations for direct mode ↵Michael Niedermayer2012-03-131-0/+8
| | | | | | | | | | | | | | | | prediction. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected] Signed-off-by: Ronald S. Bultje <[email protected]>
| * libx264: add 'stats' private option for setting 2pass stats filename.Anton Khirnov2012-03-131-0/+3
| | | | | | | | | | | | | | x264 always opens the file itself with fopen, so we cannot use the standard lavc stats mechanism. CC: [email protected]
| * libx264: fix help text for slice-max-size option.Anton Khirnov2012-03-131-1/+1
| | | | | | | | CC: [email protected]
| * dxva2_vc1: pass the overlap flag to the decoderHendrik Leppkes2012-03-131-1/+2
| | | | | | | | Signed-off-by: Anton Khirnov <[email protected]>
| * dxva2_vc1: fix decoding of BI framesHendrik Leppkes2012-03-131-4/+4
| | | | | | | | Signed-off-by: Anton Khirnov <[email protected]>
| * dfa: convert to bytestream2 APIPaul B Mahol2012-03-121-89/+74
| | | | | | | | | | | | | | Protects from overreads. Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Ronald S. Bultje <[email protected]>
| * anm decoder: move buffer allocation from decode_init() to decode_frame()Peter Ross2012-03-121-5/+4
| | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Ronald S. Bultje <[email protected]>
| * h264: improve parsing of broken AVC SPSMichael Niedermayer2012-03-132-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | Parsing the entire NAL as SPS fixes decoding of some AVC bitstreams with broken escaping. Since the size of the NAL unit is known and checked against the buffer end we can parse it entirely without buffer overreads. Fixes playback of http://streams.videolan.org/streams/mp4/Mr_MrsSmith-h264_aac.mp4 Signed-off-by: Janne Grunau <[email protected]>
* | mmvideo: restore initial y value.Michael Niedermayer2012-03-131-1/+1
| | | | | | | | | | | | | | | | | | | | This bug might have been exploitable (out of HEAP buffer writes) Bug introduced by libav commit a55d5bdc6e28a2cfefc440d792de5cc4f02377e2 Date: Tue Mar 6 15:15:42 2012 -0800 algmm: convert to bytestream2 API.
* | mmvideo: remove unused variableMichael Niedermayer2012-03-131-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | jpeglsdec: suppress unused var warningMichael Niedermayer2012-03-131-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | h264: Fix some mixed declarations and code.Michael Niedermayer2012-03-131-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | eatgq: remove unused ret variable.Michael Niedermayer2012-03-131-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | eamad: Remove redundant initialization of mv_map.Michael Niedermayer2012-03-131-2/+0
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | g729dec: fix scalarproduct_int16 after API changeMichael Niedermayer2012-03-131-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | iff: do not decode unsupported pbms with ham decoderPeter Ross2012-03-131-1/+4
| | | | | | | | This prevents the segfault reported by ticket #1054
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-1315-1584/+139
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: pcm-mpeg: convert to bytestream2 API Revert "h264: clear trailing bits in partially parsed NAL units" remove iwmmxt optimizations mimic: do not continue if swap_buf_size is 0 mimic: convert to bytestream2 API frwu: use MKTAG to check marker instead of AV_RL32 txd: port to bytestream2 API c93: convert to bytestream2 API iff: make .long_name more descriptive FATE: add test for cdxl demuxer rtsp: Fix a typo Conflicts: libavcodec/arm/dsputil_iwmmxt.c libavcodec/arm/dsputil_iwmmxt_rnd_template.c libavcodec/arm/mpegvideo_iwmmxt.c libavcodec/c93.c libavcodec/txd.c libavutil/arm/cpu.c tests/fate/demux.mak Merged-by: Michael Niedermayer <[email protected]>
| * pcm-mpeg: convert to bytestream2 APIPaul B Mahol2012-03-121-54/+56
| | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Janne Grunau <[email protected]>
| * Revert "h264: clear trailing bits in partially parsed NAL units"Janne Grunau2012-03-121-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 729ebb2f185244b0ff06d48edbbbbb02ceb4ed4e. There was an off-by-one error in the bit mask calculation clearing actually the last valid bit and causing http://bugzilla.libav.org/show_bug.cgi?id=227 The broken sample (Mr_MrsSmith-h264_aac.mp4) the commit was fixing does not work after correcting the off-by-one error. CC: [email protected]
| * remove iwmmxt optimizationsJanne Grunau2012-03-128-1438/+0
| | | | | | | | | | | | The were broken since August of 2010 without anyone noticing until three weeks ago. Nobody cares about it anymore and hopefully Marvell will support NEON like in the PXA978 from now on.
| * mimic: do not continue if swap_buf_size is 0Paul B Mahol2012-03-121-1/+1
| | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Ronald S. Bultje <[email protected]>
| * mimic: convert to bytestream2 APIPaul B Mahol2012-03-121-9/+11
| | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Ronald S. Bultje <[email protected]>
| * frwu: use MKTAG to check marker instead of AV_RL32Paul B Mahol2012-03-121-2/+1
| | | | | | | | | | | | | | Using intreadwrite.h for this is overkill. Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Ronald S. Bultje <[email protected]>
| * txd: port to bytestream2 APIPaul B Mahol2012-03-123-42/+39
| | | | | | | | | | | | | | Protects against overreads. Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Ronald S. Bultje <[email protected]>
| * c93: convert to bytestream2 APIPaul B Mahol2012-03-121-25/+27
| | | | | | | | | | | | | | Protects against overreads. Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Martin Storsjö <[email protected]>
* | cosmetics: fix some typosLou Logan2012-03-137-10/+10
| | | | | | | | | | | | | | | | | | | | Patch attached. From 2d4094fc0dcb4ccd0735eb7e1719e228ebb56bb9 Mon Sep 17 00:00:00 2001 From: Lou Logan <[email protected]> Date: Mon, 12 Mar 2012 14:13:44 -0800 Subject: [PATCH] cosmetics: fix some typos Signed-off-by: Michael Niedermayer <[email protected]>
* | vc1dec: Fix vc1 decoding with --disable-optimizations.Michael Niedermayer2012-03-131-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | Move struc FFTContext below SECTION_RODATANico Weber2012-03-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Yasm creates an implicit unaligned text section if "struc" is used outside of any section: http://tortall.lighthouseapp.com/projects/78676-yasm/tickets/247 Since yasm only honors the "align" annotation on the first declaration of a section, this implicit text section causes all text section alignments to be ignored. Also fixes a yasm warning about it agnoring alignment. Signed-off-by: Michael Niedermayer <[email protected]>
* | dxva2_vc1: pass the overlap flag to the decoderHendrik Leppkes2012-03-121-1/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | dxva2_vc1: fix decoding of BI framesHendrik Leppkes2012-03-121-4/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>