summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* cook: avoid hardcoded sizes in sizeof()Justin Ruggles2011-10-29
|
* cook: remove unneeded #includesJustin Ruggles2011-10-29
|
* cook: output float samples instead of converting to int16Justin Ruggles2011-10-29
|
* utvideo: account for coupled lines in YUV420 formatKostya Shishkov2011-10-28
| | | | | | | Luma slices in YUV420 colourspace should have height in multiple of two since they have the same line of chrominance data corresponding to pair of them. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vp3: fix oob read for negative tokens and memleaks on error.Ronald S. Bultje2011-10-28
|
* vp8: fix overflow in segmentation map caching.Ronald S. Bultje2011-10-28
|
* Fix decoding of lossless 4:2:2 H.264Anton Mitrofanov2011-10-28
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Fix decoding of lossless 10-bit 4:4:4 H.264Anton Mitrofanov2011-10-28
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* isom: Add MPEG4SYSTEMS dummy object type indication.Alex Converse2011-10-28
|
* aacdec: allow output reconfiguration on channel changesMichael Niedermayer2011-10-28
| | | | | | | | | | Locking the decoder against channel config changes in parse_adts_frame_header() seems to be unnecessary and streams with channel config changes are reported. The sample in http://roundup.libav.org/issue999 still works. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* nellymoserenc: take float input samples instead of int16Justin Ruggles2011-10-28
| | | | | This avoids having to convert all input data from int16 to float, which is used internally for encoding.
* nellymoserdec: use dsp functions for overlap and windowingJustin Ruggles2011-10-28
|
* nellymoserdec: do not fail if there is extra data in the packetJustin Ruggles2011-10-28
| | | | instead just print a warning
* nellymoserdec: fail if output buffer is too smallJustin Ruggles2011-10-28
| | | | avoids silently truncating the output
* nellymoserdec: remove pointless buffer size check.Justin Ruggles2011-10-28
|
* snow: do not draw_edge if emu_edge is setMichael Niedermayer2011-10-28
| | | | | | | | | Fix segfault on emu edge, to reproduce make fate-vsynth1-snow avplay -flags emu_edge tests/data/vsynth1/snow.avi Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* wmavoice: move output buffer size check to synth_superframe().Justin Ruggles2011-10-28
| | | | this allows for checking against the actual output size instead of max size.
* wmavoice: only set data_size to 0 when necessaryJustin Ruggles2011-10-28
|
* wmapro: fix strict-aliasing violations by using av_alias32Justin Ruggles2011-10-28
| | | | Also fix some undefined unsigned/signed conversions.
* wmapro: use FmtConvertContext.float_interleave() to interleave output samplesJustin Ruggles2011-10-28
|
* wmadec: consolidate 2 output buffer size checks into 1 checkJustin Ruggles2011-10-28
|
* apedec: assert that s->samples is not negative before trying to decodeJustin Ruggles2011-10-28
|
* apedec: use FFALIGN macro for internal data buffer sizeJustin Ruggles2011-10-28
|
* apedec: do not keep incrementing the input data pointer past the end of theJustin Ruggles2011-10-28
| | | | | | | | buffer during entropy decoding. The pointer address could overflow, which would likely segfault. Instead set the context error flag to indicate that the decoder tried to read past the end of the packet data.
* apedec: check for input buffer overflow while reading frame headerJustin Ruggles2011-10-28
|
* apedec: use unsigned int for offsetJustin Ruggles2011-10-28
| | | | | avoids implementation-defined unsigned-to-signed conversion and simplifies the bounds checking.
* apedec: remove pointless increment of 'buf'Justin Ruggles2011-10-28
| | | | The variable is not used anymore at that point.
* apedec: set s->currentframeblocks after validating nblocksJustin Ruggles2011-10-28
|
* apedec: use unsigned int for 'nblocks' and make sure that it's within int rangeJustin Ruggles2011-10-28
|
* apedec: do not set s->samples until after validation.Justin Ruggles2011-10-28
| | | | | This prevents errors and/or invalid writes in the next decode call due to s->samples still being negative.
* apedec: check for data buffer realloc failureJustin Ruggles2011-10-28
|
* apedec: return meaningful error values in ape_decode_frame()Justin Ruggles2011-10-28
|
* apedec: correct an error messageJustin Ruggles2011-10-28
|
* apedec: cosmeticsJustin Ruggles2011-10-28
| | | | break some excessively long lines and remove space after '*'
* apedec: return meaningful error codes from ape_decode_init()Justin Ruggles2011-10-28
|
* apedec: check for filter buffer allocation failureJustin Ruggles2011-10-28
|
* apedec: use memcpy for pseudo-stereo modeJustin Ruggles2011-10-28
|
* apedec: remove unneeded check for zero-size packet.Justin Ruggles2011-10-28
| | | | This is already checked by avcodec_decode_audio3().
* mp3on4: do not needlessly set data_size to 0Justin Ruggles2011-10-27
|
* mp3adu: return error instead of just consuming bad packetsJustin Ruggles2011-10-27
|
* mpegaudiodec: check output data size based on avctx->frame_sizeJustin Ruggles2011-10-27
|
* avcodec: remove avcodec_parse_frame and deprecate associated elements.Justin Ruggles2011-10-27
| | | | | | The documentation for CODEC_CAP_PARSE_ONLY and AVCodecContext.parse_only indicates that they are utilized through avcodec_parse_frame(), which was never actually implemented.
* mpegaudiodec: cosmetics: basic pretty-printingJustin Ruggles2011-10-27
|
* mpegaudiodec: remove frame_count field from MPADecodeContext.Justin Ruggles2011-10-27
| | | | | | Its functionality was removed several years ago, so it doesn't do anything. AVCodecContext.frame_number could serve the same purpose if someone wants to debug the frame count.
* mpegaudiodec: return AVERROR return codes instead of -1Justin Ruggles2011-10-27
|
* mpegaudiodec: Skip only bad frames instead of the whole packet.Justin Ruggles2011-10-27
| | | | | | On frame decoding failure, return an error if the frame is the same size as the whole packet, otherwise just log an error message and return the number of bytes consumed.
* lavc: remove "legacy" mpegvideo decoder.Anton Khirnov2011-10-27
|
* libopencore-amr: check output buffer size before decodingJustin Ruggles2011-10-26
|
* libopencore-amr: remove unneeded buf_size==0 check.Justin Ruggles2011-10-26
| | | | | avcodec_decode_audio3() already checks it before sending the packet to the decoder.
* libopencore-amr: remove unneeded frame_count field.Justin Ruggles2011-10-26
| | | | Use AVCodecContext.frame_number instead.