Diego Biurrun
a3e0135dbb
msmpeg4: remove leftover unused debug variable declaration
13 years ago
Diego Biurrun
95a06eb4d5
Fix assert() calls that need updates after FF_COMMON_FRAME macro elimination.
This fixes build failures with -DDEBUG in CPPFLAGS.
13 years ago
Diego Biurrun
35a6855868
Fix av_dlog invocations with wrong or missing logging context.
This fixes build failures with -DDEBUG in CPPFLAGS.
13 years ago
Laurent Aimar
4cc7732386
rv34: Check for invalid slice offsets
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Laurent Aimar
b4ed3d78cb
rv34: Fix potential overreads
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Laurent Aimar
d2213b6493
rv34: Fix buffer size used for MC of B frames after a resolution change
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Laurent Aimar
d0f6ab0298
rv34: Avoid NULL dereference on corrupted bitstream
rv34_decode_slice() can return without allocating any pictures.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Laurent Aimar
4a29b47186
rv10: Reject slices that does not have the same type as the first one
This prevents crashes with some corrupted bitstreams.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Luca Barbato
3a78fb57de
libx264: introduce slice-max-size option
Yet another option useful for low latency streaming.
13 years ago
Laurent Aimar
b59efc9434
Fixed size given to init_get_bits().
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>
13 years ago
Michael Niedermayer
5166376f24
smacker: fix a few off by 1 errors
stereo & 16bit is untested due to lack of samples
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Laurent Aimar
6489455495
Check for invalid VLC value in smacker decoder.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Laurent Aimar
9676ffba83
Check and propagate errors when VLC trees cannot be built in smacker decoder.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Justin Ruggles
3ed7860943
include stdint.h in adpcm_data.h
fixes make checkheaders
13 years ago
Diego Biurrun
a05ea77c9f
mpeg12: reorder functions to avoid ugly forward declarations
13 years ago
Alex Converse
0872bb23b4
xan: Add some buffer checks
13 years ago
Alex Converse
350f57bd7b
xan: Remove extra trailing newline
13 years ago
Laurent Aimar
393d5031c6
Fixed size given to init_get_bits() in xan decoder.
13 years ago
Justin Ruggles
826c56d16e
adpcm: split ADPCM encoders and decoders into separate files.
Move shared tables to a separate file as well.
13 years ago
Kostya Shishkov
23a1f0c592
rv34: check that subsequent slices have the same type as first one.
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>
13 years ago
Anton Khirnov
af1e247038
libxavs: add private options corresponding to deprecated global options
Code mostly copied from libx264 wrapper.
13 years ago
Anton Khirnov
d242d80e36
avconv: remove me_threshold option.
It's only shadowing the AVOption with the same name.
13 years ago
Laurent Aimar
8bfea4ab4e
Fixed segfault with wavpack decoder on corrupted decorrelation terms sub-blocks.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Alex Converse
0c1f5b93d9
cljr: init_get_bits size in bits instead of bytes
13 years ago
Alex Converse
b7ce4f1d1c
indeo2: fail if input buffer too small
13 years ago
Alex Converse
68ca330cbd
indeo2: init_get_bits size in bits instead of bytes
13 years ago
Laurent Aimar
46b004959b
ffv1: Fixed size given to init_get_bits() in decoder.
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>
13 years ago
Alex Converse
dba2b63a98
wavpack: Check error codes rather than working around error conditions.
13 years ago
Laurent Aimar
55354b7de2
Fixed invalid access in wavpack decoder on corrupted bitstream.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Laurent Aimar
0aedab0340
Fixed invalid writes in wavpack decoder on corrupted bitstreams.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Laurent Aimar
beefafda63
Fixed invalid access in wavpack decoder on corrupted extra bits sub-blocks.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Kieran Kunhya
0ca36b4de7
Add LATM muxer
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Baptiste Coudurier
635bbecfc3
v210enc: clip values according to specifications
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Baptiste Coudurier
d239b83e2e
v210enc: switch to PIX_FMT_422P10
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Baptiste Coudurier
08fa23d6c2
v210dec: switch to PIX_FMT_422P10
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Anton Khirnov
79eff91325
AVOptions: deprecate av_opt_set_defaults2
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.
13 years ago
Anton Khirnov
0962f23b35
libx264: fix setting some more parameters
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.
13 years ago
Andrej Peterka
2bb5d637fc
libx264: fix setting the H.264 level
Move setting it after x264_param_default_preset()
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Anton Khirnov
9c684feadc
libx264: add 'direct-pred' private option
Deprecate AVCodecContext.directpred
13 years ago
Anton Khirnov
0635a8aa21
libx264: add 'partitions' private option
Deprecate AVCodecContext.partitions.
13 years ago
Anton Khirnov
7042337673
libx264: add 'cplxblur' private option
Deprecate AVCodecContext.complexityblur
13 years ago
Anton Khirnov
71b5f4427b
libx264: add 'deblock' private option
Deprecate AVCodecContext.deblockalpha/deblockbeta
13 years ago
Anton Khirnov
f83c45183e
libx264: add 'b-bias' private option
Deprecate AVCodecContext.bframebias.
13 years ago
Anton Khirnov
bb73cda2f6
libx264: fix setting some options.
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.
13 years ago
Anton Khirnov
d8dee0e7bd
libx264: remove useless assignment
priv_data is memset to 0.
13 years ago
Reimar Döffinger
459fe331e9
ac3dec: avoid pointless alloc and indirection for input_buffer
Since we now always allocate it, it can simply be made part of the context
instead.
14 years ago
Diego Biurrun
6192b6f3e7
mpeg12: cosmetics: reformat as K&R
13 years ago
Justin Ruggles
ae264bb29b
ac3enc: Add channel coupling support for the fixed-point AC-3 encoder.
Update FATE references accordingly.
14 years ago
Justin Ruggles
a0d17b6d45
ac3enc: scale floating-point coupling channel coefficients in
scale_coefficients() rather than in apply_channel_coupling()
14 years ago
Justin Ruggles
3e5722a8ca
ac3enc: fix encoding of stereo ac3 files when rematrixing is disabled.
The number of rematrixing bands still needs to be calculated.
13 years ago