summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* rv34: Check for invalid slice offsetsLaurent Aimar2011-09-20
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rv34: Fix potential overreadsLaurent Aimar2011-09-19
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rv34: Fix buffer size used for MC of B frames after a resolution changeLaurent Aimar2011-09-19
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rv34: Avoid NULL dereference on corrupted bitstreamLaurent Aimar2011-09-19
| | | | | | rv34_decode_slice() can return without allocating any pictures. Signed-off-by: Martin Storsjö <martin@martin.st>
* rv10: Reject slices that does not have the same type as the first oneLaurent Aimar2011-09-19
| | | | | | This prevents crashes with some corrupted bitstreams. Signed-off-by: Martin Storsjö <martin@martin.st>
* libx264: introduce slice-max-size optionLuca Barbato2011-09-16
| | | | Yet another option useful for low latency streaming.
* Fixed size given to init_get_bits().Laurent Aimar2011-09-15
| | | | | | | init_get_bits() takes a number of bits and not a number of bytes as its size argument. Signed-off-by: Alex Converse <alex.converse@gmail.com>
* smacker: fix a few off by 1 errorsMichael Niedermayer2011-09-14
| | | | | | stereo & 16bit is untested due to lack of samples Signed-off-by: Martin Storsjö <martin@martin.st>
* Check for invalid VLC value in smacker decoder.Laurent Aimar2011-09-14
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Check and propagate errors when VLC trees cannot be built in smacker decoder.Laurent Aimar2011-09-14
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* include stdint.h in adpcm_data.hJustin Ruggles2011-09-13
| | | | fixes make checkheaders
* mpeg12: reorder functions to avoid ugly forward declarationsDiego Biurrun2011-09-13
|
* xan: Add some buffer checksAlex Converse2011-09-12
|
* xan: Remove extra trailing newlineAlex Converse2011-09-12
|
* Fixed size given to init_get_bits() in xan decoder.Laurent Aimar2011-09-12
|
* adpcm: split ADPCM encoders and decoders into separate files.Justin Ruggles2011-09-12
| | | | Move shared tables to a separate file as well.
* rv34: check that subsequent slices have the same type as first one.Kostya Shishkov2011-09-12
| | | | | | | | This prevents some crashes when corrupted bitstream reports e.g. P-type slice in I-frame. Official RealVideo decoder demands all slices to be of the same type too. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* libxavs: add private options corresponding to deprecated global optionsAnton Khirnov2011-09-12
| | | | Code mostly copied from libx264 wrapper.
* avconv: remove me_threshold option.Anton Khirnov2011-09-11
| | | | It's only shadowing the AVOption with the same name.
* Fixed segfault with wavpack decoder on corrupted decorrelation terms sub-blocks.Laurent Aimar2011-09-10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* cljr: init_get_bits size in bits instead of bytesAlex Converse2011-09-09
|
* indeo2: fail if input buffer too smallAlex Converse2011-09-09
|
* indeo2: init_get_bits size in bits instead of bytesAlex Converse2011-09-09
|
* ffv1: Fixed size given to init_get_bits() in decoder.Laurent Aimar2011-09-09
| | | | | | | init_get_bits() takes a number of bits and not a number of bytes as its size argument. Signed-off-by: Alex Converse <alex.converse@gmail.com>
* wavpack: Check error codes rather than working around error conditions.Alex Converse2011-09-08
|
* Fixed invalid access in wavpack decoder on corrupted bitstream.Laurent Aimar2011-09-08
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Fixed invalid writes in wavpack decoder on corrupted bitstreams.Laurent Aimar2011-09-08
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Fixed invalid access in wavpack decoder on corrupted extra bits sub-blocks.Laurent Aimar2011-09-08
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Add LATM muxerKieran Kunhya2011-09-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* v210enc: clip values according to specificationsBaptiste Coudurier2011-09-07
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* v210enc: switch to PIX_FMT_422P10Baptiste Coudurier2011-09-07
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* v210dec: switch to PIX_FMT_422P10Baptiste Coudurier2011-09-07
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* AVOptions: deprecate av_opt_set_defaults2Anton Khirnov2011-09-07
| | | | | | It's a hack which was created to allow for multiple options with different defaults to refer to same field (e.g. 'b' vs 'ab'). There is no need for it anymore.
* libx264: fix setting some more parametersAnton Khirnov2011-09-07
| | | | | | | Specifically, trellis, nr, me_range, me_method, subq, b_strategy, keyint_min, chroma_me and coder. Change their defaults to -1 and apply them after x264_param_default_preset() if the user explicitly set them.
* libx264: fix setting the H.264 levelAndrej Peterka2011-09-07
| | | | | | Move setting it after x264_param_default_preset() Signed-off-by: Anton Khirnov <anton@khirnov.net>
* libx264: add 'direct-pred' private optionAnton Khirnov2011-09-07
| | | | Deprecate AVCodecContext.directpred
* libx264: add 'partitions' private optionAnton Khirnov2011-09-07
| | | | Deprecate AVCodecContext.partitions.
* libx264: add 'cplxblur' private optionAnton Khirnov2011-09-06
| | | | Deprecate AVCodecContext.complexityblur
* libx264: add 'deblock' private optionAnton Khirnov2011-09-06
| | | | Deprecate AVCodecContext.deblockalpha/deblockbeta
* libx264: add 'b-bias' private optionAnton Khirnov2011-09-06
| | | | Deprecate AVCodecContext.bframebias.
* libx264: fix setting some options.Anton Khirnov2011-09-06
| | | | | | | | | | | Specifically: gop_size, max_b_frames, scenechange_threshold, qmin, qmax, max_qdiff, qblur, qcompress and refs. Change their default values to -1 and only use them if the user explicitly set them. Otherwise x264 defaults are used. Move setting those options after x264_param_default_preset(), so they don't get overwritten by it.
* libx264: remove useless assignmentAnton Khirnov2011-09-06
| | | | priv_data is memset to 0.
* ac3dec: avoid pointless alloc and indirection for input_bufferReimar Döffinger2011-09-06
| | | | | Since we now always allocate it, it can simply be made part of the context instead.
* mpeg12: cosmetics: reformat as K&RDiego Biurrun2011-09-06
|
* ac3enc: Add channel coupling support for the fixed-point AC-3 encoder.Justin Ruggles2011-09-05
| | | | Update FATE references accordingly.
* ac3enc: scale floating-point coupling channel coefficients inJustin Ruggles2011-09-05
| | | | scale_coefficients() rather than in apply_channel_coupling()
* ac3enc: fix encoding of stereo ac3 files when rematrixing is disabled.Justin Ruggles2011-09-05
| | | | The number of rematrixing bands still needs to be calculated.
* wavpack: fix wrong return value in wavpack_decode_block()Kostya Shishkov2011-09-05
| | | | | | | | This function should return number of samples decoded, not number of bytes decoded. Spotted by Uoti Urpala. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpeg12: propagate more real return values through chunk decode error return ↵Dustin Brody2011-09-05
| | | | | | and fix some indentation Signed-off-by: Anton Khirnov <anton@khirnov.net>
* wavpack: use context reset in appropriate placesKostya Shishkov2011-09-05
| | | | | | | | This fixes improper flushing in the cases when the same frame is decoded in several iterations (for being too large to fit into output buffer) and flush is called mid-decoding and it also resets context in case of decoding errors. Signed-off-by: Anton Khirnov <anton@khirnov.net>