summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* anm: return meaningful error codesAnton Khirnov2013-01-06
|
* aasc: return meaningful error codes.Anton Khirnov2013-01-06
|
* 8bps: return meaningful error codes.Anton Khirnov2013-01-06
|
* 4xm: operate with pointers to AVFrames instead of whole structs.Anton Khirnov2013-01-06
| | | | This is more correct and avoids breaking extended_data.
* 4xm: eliminate a pointless indirectionAnton Khirnov2013-01-06
|
* 4xm: simplify code with FFSWAPAnton Khirnov2013-01-06
|
* 4xm: return meaningful error codesAnton Khirnov2013-01-06
|
* build: Avoid detecting bogus components named 'x'Clément Bœsch2013-01-03
| | | | | | | | | | The function find_things() in configure is confused by component registration calls as part of multiline macros defining combined component registration. Coalesce those macros into one line to work around the issue. Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: check SPS entries directly to detect pixel format changesJanne Grunau2013-01-03
| | | | | | | Comparing AVCodecContext.pix_fmt against the get_pixel_format() return value has the side effect of calling the get_format() callback on each slice. Users of the callback will probably handle hardware accelerator initialization in the callback.
* truemotion2: Sanitize tm2_read_header()Diego Biurrun2012-12-31
| | | | Also give a variable a more sensible name.
* cavsdec: export picture type in the output frameAnton Khirnov2012-12-30
|
* cavs: deMpegEncContextizeAnton Khirnov2012-12-30
| | | | | | | | | | | It does not use any of the mpegvideo infrastructure, just a few fields from the context. Fixes a segfault with the emu edge flag, since emu edge buffer is now allocated as a part of the frame buffer allocation and cavs calls ff_get_buffer() directly, it does not use mpegvideo buffer management. Fixes a memleak of the last frame.
* cavs: cosmetics, reformat top partAnton Khirnov2012-12-30
|
* cavsdec: cosmetics, reformatAnton Khirnov2012-12-30
|
* libavcodec/utils: Add braces to shut up gcc warningsDiego Biurrun2012-12-30
| | | | | libavcodec/utils.c:1050:5: warning: missing braces around initializer [-Wmissing-braces] libavcodec/utils.c:1314:5: warning: missing braces around initializer [-Wmissing-braces]
* snow: use VideoDSPContextLuca Barbato2012-12-29
| | | | It was left over from the initial conversion.
* cosmetics: Prettyprint codec/format/filter registration filesDiego Biurrun2012-12-28
|
* mpegvideo: initialize videodsp with correct pixel depthJanne Grunau2012-12-26
| | | | | Fixes decoding of 9/10 bit per pixel h264 videos as reported in https://bugzilla.libav.org/show_bug.cgi?id=404 .
* wnv1: cosmetics, reformatAnton Khirnov2012-12-24
|
* xan: remove a trivially true if().Anton Khirnov2012-12-24
| | | | | This function used to be shared with the xxan decoder, but that is not true anymore.
* ansi: do not depend on get_buffer() initializing the frame.Anton Khirnov2012-12-24
| | | | | The background changes from 128 (used by the default/cmdutils get_buffer()) to 0. This looks more correct.
* zerocodec: remove an unused variable.Anton Khirnov2012-12-24
|
* zmbv: remove some pointless comments and empty linesAnton Khirnov2012-12-24
|
* yop: simplify/sanitize the decoding loopAnton Khirnov2012-12-24
| | | | | | | Do not overwrite linesize set by get_buffer(). The last frame in the FATE test is not decoded anymore, since the file is cut and a part of it is missing.
* c93: set palette_has_changed.Anton Khirnov2012-12-24
|
* bmp: cosmetics, reformatAnton Khirnov2012-12-24
|
* lavc: Correct the description of pkt_dtsMartin Storsjö2012-12-23
| | | | | | | | | | The description as updated in 6e5c44b0f made it sound like it is handled exactly like the pts, which it is not. Clarify that it is the packet that triggered returning the frame instead of just the last avpacket (in case of frame threading, it won't be the dts of the last packet). Signed-off-by: Martin Storsjö <martin@martin.st>
* Return proper error code after av_log_ask_for_sample()Diego Biurrun2012-12-23
|
* 8bps: cosmeticsAnton Khirnov2012-12-23
| | | | Remove some pointless comments and empty lines.
* aasc: cosmetics, reformatAnton Khirnov2012-12-23
|
* ansi: remove an extra returnAnton Khirnov2012-12-23
|
* asvdec: cosmetics, reformatAnton Khirnov2012-12-23
|
* aura: cosmetics, reformatAnton Khirnov2012-12-23
|
* 4xm: don't rely on get_buffer() initializing the frame.Anton Khirnov2012-12-23
|
* huffyuv: split encoder and decoder into separate files.Anton Khirnov2012-12-23
|
* lavc: make pkt_{p,d}ts doxy less confusingAnton Khirnov2012-12-23
|
* lavc: rewrite and extend AVFrame doxyAnton Khirnov2012-12-23
|
* ttadec: fix last frame handling when seekingJustin Ruggles2012-12-22
| | | | | | | | | Using a frame count, as is done currently, does not work at all with seeking. Instead, when the number of samples in the final frame has been decoded, we check if only the 32-bit CRC is remaining. If so, we assume that it is the final frame. There is no longer a need to keep total_frames in TTAContext.
* alacdec: do not be too strict about the extradata sizeJustin Ruggles2012-12-22
| | | | | | | Sometimes the extradata has duplicate atoms, but that shouldn't prevent decoding. Just ensure that it is at least 36 bytes as a sanity check. CC: libav-stable@libav.org
* flac: only set channel layout if not previously set or on channel count changeJustin Ruggles2012-12-22
| | | | Fixes Bug 402
* miscellaneous typo fixesDiego Biurrun2012-12-21
|
* lavc: add missing files for armLuca Barbato2012-12-20
| | | | Across the many retouches those did not make the main commit.
* lavc: introduce VideoDSPContextRonald S. Bultje2012-12-20
| | | | | | | | Move some functions from dsputil. The idea is that videodsp contains functions that are useful for a large and varied set of video decoders. Currently, it contains emulated_edge_mc() and prefetch(). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpeg12: do not decode extradata more than once.Anton Khirnov2012-12-19
| | | | | | Fixes CVE-2012-2803. CC: libav-stable@libav.org
* h264: fix sps parsing for SVC and CAVLC 4:4:4 Intra profilesVictor Lopez2012-12-19
| | | | | | Fixes bug 396. CC: libav-stable@libav.org
* mpegvideo: increase edge_emu_buffer size for VC1Janne Grunau2012-12-19
| | | | | | | | | The VC1 decoder uses edge_emu_buffer simultaneously for luma and chroma and needs more space. That was not a problem before f1d8763a02b5fce since the size for edge_emu_buffer was always calculated with 2 byte per pixel since the linesize was not known. Fixes occasionally fate errors in vc1_sa10143.
* avcodec: bump minor for adaptive h264 frame-mtJanne Grunau2012-12-18
| | | | Also adds forgotten Changelog entry.
* h264: support frame parameter changes during frame-mtJanne Grunau2012-12-18
| | | | Fixes CVE-2012-2782.
* mpegvideo: allocate scratch buffers after linesize is knownJanne Grunau2012-12-18
| | | | | | | | | | | Since we can't know which stride a custom get_buffer() implementation is going to use we have to allocate this scratch buffers after the linesize is known. It was pretty safe for 8 bit per pixel pixel formats since we always allocated memory for up to 16 bits per pixel. It broke hoever with cmdutis.c's alloc_buffer() and high pixel bit depth since it allocated larger edges than mpegvideo expected. Fixes fuzzed sample nasa-8s2.ts_s244342.
* ff_h264_direct_ref_list_init: fix B slice check.Michael Niedermayer2012-12-18
| | | | | | Fixes null pointer dereference. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind