Alex Converse
dba2b63a98
wavpack: Check error codes rather than working around error conditions.
14 years ago
Laurent Aimar
55354b7de2
Fixed invalid access in wavpack decoder on corrupted bitstream.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Laurent Aimar
0aedab0340
Fixed invalid writes in wavpack decoder on corrupted bitstreams.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 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>
14 years ago
James Zern
1da43f7e99
libvpxenc: add 'crf' private option
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
James Zern
3dc14b4628
libvpxenc: add 'rc_lookahead' private option
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
James Zern
fb99d78778
libvpxenc: silence AVOption related warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
bd358e128f
jpeglsdec: fix infinite loop
Fixes Ticket331
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Kieran Kunhya
0ca36b4de7
Add LATM muxer
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 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.
14 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.
14 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>
14 years ago
Anton Khirnov
9c684feadc
libx264: add 'direct-pred' private option
Deprecate AVCodecContext.directpred
14 years ago
Anton Khirnov
0635a8aa21
libx264: add 'partitions' private option
Deprecate AVCodecContext.partitions.
14 years ago
Carl Eugen Hoyos
d898ab9090
Fix decoding of 2/4 bpp Tiff samples.
14 years ago
Carl Eugen Hoyos
f863cdef81
Cosmetics: Fix comment.
14 years ago
Anton Khirnov
7042337673
libx264: add 'cplxblur' private option
Deprecate AVCodecContext.complexityblur
14 years ago
Anton Khirnov
71b5f4427b
libx264: add 'deblock' private option
Deprecate AVCodecContext.deblockalpha/deblockbeta
14 years ago
Anton Khirnov
f83c45183e
libx264: add 'b-bias' private option
Deprecate AVCodecContext.bframebias.
14 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.
14 years ago
Anton Khirnov
d8dee0e7bd
libx264: remove useless assignment
priv_data is memset to 0.
14 years ago
Michael Niedermayer
0c9cba24b7
pngdec: implement 4bpp interlaced
Fixes Ticket435
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
dcabb3d608
pngdec: implement 2 bpp interlaced.
Fixes Ticket434
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 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
Michael Niedermayer
be7eed72c8
mjpegdec; even better RSTn skiping
Fixes Ticket426
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
bc6445f2db
pngdec: Fix interlaced PAETH prediction
Fixes Ticket161
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
2d4102fc13
pngdec: Implement 2bpp
Fixes Ticket433
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
dc43ad6d1a
pngdec: Fix interlaced 1bpp
Fixes Ticket214
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
738219c921
pngdec: 4bpp support
Fixes Ticket208
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Diego Biurrun
6192b6f3e7
mpeg12: cosmetics: reformat as K&R
14 years ago
Michael Niedermayer
6dbac85f8d
mpeg4: fix another packed divx issue.
Fixes getting_stuck.avi
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 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.
14 years ago
Kostya Shishkov
bcd4aa8bec
wavpack: fix wrong return value in wavpack_decode_block()
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>
14 years ago
Dustin Brody
ff17fc6353
mpeg12: propagate more real return values through chunk decode error return and fix some indentation
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Kostya Shishkov
9bc4e21a9b
wavpack: use context reset in appropriate places
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>
14 years ago
Reimar Döffinger
09c5f990bc
Check extradata size on resolution change.
Ignore resolution change if resolution not defined in extradata.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
14 years ago
Anton Khirnov
fb47997edb
lavc: fix type for thread_type option
It should be flags, not int.
14 years ago
Anton Khirnov
fb4ca26bdb
lavf,lavc,sws: add {avcodec,avformat,sws}_get_class() functions.
14 years ago
Anton Khirnov
c11fb8288d
AVOptions: add AV_OPT_SEARCH_FAKE_OBJ flag for av_opt_find().
It allows to search for options only with AVClass, without allocating
the corresponding context.
14 years ago
Michael Niedermayer
3e7e1f1509
mpeg4: adjust dummy frame threashold for packed divx.
Fixes Ticket427
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
63d2cfd142
dvdec: Fix dvsd profile[1] detection.
Fixes Ticket159
If someone knows of a cleaner way to detect this, patch is welcome.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
fea20d1ddc
Revert "mjpeg: treat external huffman table setup failure as codec init failure if external huffman table use requested"
This broke mplayer
This reverts commit a18e04bcf9
.
14 years ago
Michael Niedermayer
94c2478d90
jpegdec: better rst skiping
Fixes Ticket426
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Reimar Döffinger
5e2ea138b7
MJPEG: emulate EOI also on two consecutive SOI.
Fixes issue #362 .
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
14 years ago
Reimar Döffinger
55a1fe7a80
Reset cur_scan at more appropriate places.
Reset it when we actually process an EOI, not when we actually
decide to ignore it for bug-workarounds, and reset it on
SOF to make it more reliable in case of missing EOI.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
14 years ago