Mashiat Sarker Shakkhar
03684c8ff3
Implement reset_codec()
14 years ago
Mashiat Sarker Shakkhar
93d2cabd61
Add missing syntax elements to WmallDecodeCtx
14 years ago
Mashiat Sarker Shakkhar
79b16e780d
Add .recent syntax element to cdlms struct
14 years ago
Mashiat Sarker Shakkhar
87b9c23b9a
Implement clear_codec_buffers()
14 years ago
Mashiat Sarker Shakkhar
d58db7207d
Add buffers to context necessary for reverting cdmls and mclms filter
14 years ago
Mashiat Sarker Shakkhar
a80a10bd73
Use avpriv_copy_bits() instead of ff_copy_bits()
14 years ago
Mashiat Sarker Shakkhar
374582acfe
Cosmetics
14 years ago
Mashiat Sarker Shakkhar
fa3e0190f9
Add missing ff_ before the AVCodec struct for wmalossless
14 years ago
Andreas Öman
4d9d9a443f
wmall: Working bitstream parser
14 years ago
Justin Ruggles
f3a29b750a
avcodec: move some AVCodecContext fields to an internal struct.
...
A new field, AVCodecContext.internal is used to hold a new struct
AVCodecInternal, which has private fields that are not codec-specific and are
used by general libavcodec functions.
Moved internal_buffer, internal_buffer_count, and is_copy.
14 years ago
Justin Ruggles
513b691955
avcodec: use av_opt_set() instead of deprecated av_set_string3()
14 years ago
Justin Ruggles
fa9aeb82e2
avcodec: fix some const warnings
...
libavcodec/options.c:583: warning: assignment discards qualifiers from pointer
target type
libavcodec/options.c:589: warning: initialization discards qualifiers from
pointer target type
14 years ago
Justin Ruggles
86d3730360
avcodec: remove pointless AVOption, internal_buffer_count
14 years ago
Luca Barbato
b7d939d998
cinepack: return non-generic errors
14 years ago
Michael Niedermayer
a4009c6a9a
cinepak: remove redundant coordinate checks
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Michael Niedermayer
867b496681
cinepak: check strip_size
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Michael Niedermayer
d92fea2b14
cinepak, simplify, use AV_RB24()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Michael Niedermayer
a2b51fe87c
cinepak: simplify, use FFMIN()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Michael Niedermayer
b55aa7df6b
cinepak: Fix division by zero, ask for sample if encoded_buf_size is 0
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Alex Converse
bb4b0ad83b
vp5: Fix illegal read.
...
Found with Address Sanitizer
14 years ago
Thierry Foucu
e0966eb140
vp6: Fix illegal read.
...
Found with Address Sanitizer
Signed-off-by: Alex Converse <alex.converse@gmail.com>
14 years ago
Martin Storsjö
268fb3f985
mpegaudiodec: Don't use a nonexistent log context for av_dlog
...
This fixes builds with DEBUG defined, broken since
1158745a2d
.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Mike Melanson
747283a078
cinepak: Add another special case so that it can handle the following file:
...
http://samples.mplayerhq.hu/V-codecs/CVID/bad_cinepak_frame_size.mov
This fix works around another work around which handles a different type
of odd Cinepak data.
Thanks to Matthew Hoops (clone2727 - gmail.com) for the sample and fix.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Kostya Shishkov
ffc638c283
lagarith: add some RGBA decoding support
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Nathan Caldwell
39616fc307
lagarith: Add correct line prediction for RGB
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Justin Ruggles
f1d1516e55
cosmetics: indentation
14 years ago
Justin Ruggles
1158745a2d
mpegaudiodec: init static tables in AVCodec.init_static_data()
14 years ago
Mans Rullgard
3f5d6a665a
binkvideo: simplify and remove invalid shifts
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Sebastien Zwickert
ac3dbb4d58
hwaccel: OS X Video Decoder Acceleration (VDA) support.
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Janne Grunau
29ae0565d9
vble: remove vble_error_close
...
It does not make much sense to factor the error handling to its own
av_always_inline function. Fixes "format not a string literal and no
format arguments" warning in the av_log.
14 years ago
Derek Buitenhuis
c433a3f9a5
VBLE Decoder
...
Add a decoder for the VBLE Lossless Codec, which
still has a cult following. Used to be popular
several years ago on doom9.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Justin Ruggles
b656c4d08e
tta: use an integer instead of a pointer to iterate output samples
14 years ago
Justin Ruggles
5c210e2cb9
shorten: do not modify samples pointer when interleaving
14 years ago
Justin Ruggles
befc473c00
mpc7: only support stereo input.
...
The Musepack SV7 reference encoder converts mono to stereo when encoding.
14 years ago
Justin Ruggles
8dbc6d03c0
dpcm: do not try to decode empty packets
14 years ago
Justin Ruggles
e79da63282
dpcm: remove unneeded buf_size==0 check.
...
It is already checked in avcodec_decode_audio3()
14 years ago
Justin Ruggles
9d06037d48
twinvq: add SSE/AVX optimized sum/difference stereo interleaving
14 years ago
Justin Ruggles
7b966566da
vqf/twinvq: pass vqf COMM chunk info in extradata
...
This is needed because the twinvq decoder cannot rely on bit_rate to be set.
The API documentation says that bit_rate is set by libavcodec, not by the
user.
14 years ago
Justin Ruggles
a8a6da4a0e
twinvq: check for allocation failure in init_mdct_win()
14 years ago
Alex Converse
88b2436911
mpc7: Fix memset call in mpc7_decode_frame function
14 years ago
Justin Ruggles
164fca39bd
atrac1: use correct context for av_log()
14 years ago
Justin Ruggles
c298b2b8db
apedec: consume the whole packet when copying to the decoder buffer.
...
This avoids artifically consuming a partial packet but ignoring remaining data
in subsequent calls.
14 years ago
Justin Ruggles
de157f2118
apedec: do not needlessly copy s->samples to nblocks.
...
also move nblocks to the local scope where it is used.
14 years ago
Justin Ruggles
4315c7d35a
apedec: check output buffer size after calculating actual output size
14 years ago
Justin Ruggles
ad17207b51
apedec: remove unneeded entropy decoder normalization.
...
The decoder already skips data at the end of the packet without this.
Also remove 2 APEContext fields that were only used for the end-of-frame
normalization.
14 years ago
Justin Ruggles
59f4d1b8bb
truespeech: use memmove() in truespeech_update_filters()
14 years ago
Justin Ruggles
41899b9acb
vorbisdec: remove AVCODEC_MAX_AUDIO_FRAME_SIZE check
...
The user could provide a larger buffer, which is already checked separately
before writing output.
14 years ago
Justin Ruggles
e551a6f49a
vorbisdec: remove unneeded buf_size==0 check
14 years ago
Justin Ruggles
f666276fa6
vorbisdec: return proper error codes instead of made-up ones
14 years ago
Laurent Aimar
2305742b2a
sunrast: Check for invalid/corrupted bitstream
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago