Justin Ruggles
4f4e19480a
binkaudio: only decode one block at a time.
...
This prevents truncating output due to an output buffer that is too small for
all blocks. There is no limit on the number of blocks in a packet.
13 years ago
Justin Ruggles
eaddd29e00
binkaudio: store interleaved overlap samples in BinkAudioContext.
...
This fixes the requirement for the buffer size to be larger than the number of
samples actually decoded.
13 years ago
Justin Ruggles
9f48039a37
binkaudio: pre-calculate quantization factors
13 years ago
Justin Ruggles
101ef19ef4
binkaudio: add some buffer overread checks.
...
This stops decoding before overreads instead of after.
13 years ago
Justin Ruggles
2073224697
atrac3: support float or int16 output using request_sample_fmt
13 years ago
Justin Ruggles
a047851329
atrac3: add CODEC_CAP_SUBFRAMES capability
...
the decoder can handle multiple frames in a packet
13 years ago
Justin Ruggles
8f98577d4d
atrac3: return appropriate error codes instead of -1
13 years ago
Justin Ruggles
47b617021d
atrac3: make sure all memory is freed on init failure
13 years ago
Justin Ruggles
c91613857d
atrac3: add a couple macro constants
13 years ago
Justin Ruggles
1fead73d7b
atrac3: return error if packet is too small
13 years ago
Justin Ruggles
7e4881a2d0
atrac3: check output buffer size before decoding
13 years ago
Justin Ruggles
6ba7f78bbb
atrac3: use separate pointers for each channel in decodeFrame()
13 years ago
Justin Ruggles
5e76b8bb76
atrac3: use optimized float_interleave() function for stereo interleaving
13 years ago
Justin Ruggles
8af33cb38a
atrac3: decode mono directly to the output buffer
13 years ago
Justin Ruggles
c4a6fde33f
atrac3: decode output to float samples instead of converting to s16
13 years ago
Justin Ruggles
f20dd574f1
atrac1: return appropriate error codes instead of -1
13 years ago
Justin Ruggles
6dc7dd7af4
atrac1: check for ff_mdct_init() failure
13 years ago
Justin Ruggles
21dcecc310
atrac1: use optimized float_interleave() function for stereo interleaving
13 years ago
Justin Ruggles
96b5702efe
atrac1: fix a typo
13 years ago
Justin Ruggles
bff5b2c1ca
atrac1: validate number of channels
13 years ago
Justin Ruggles
9a35ff3841
atrac1: decode mono audio directly to output buffer
...
For stereo we need to use intermediate planar buffers, but mono does not need
to be deinterleaved so the output buffer can be used directly.
13 years ago
Justin Ruggles
33684b9c12
atrac1: check output buffer size before decoding
13 years ago
Justin Ruggles
5c353eb8e3
cook: return AVERROR_PATCHWELCOME instead of ENOTSUP
...
ENOTSUP is not defined on some systems
13 years ago
Michael Niedermayer
e71aaad283
ffmpeg: Fix regression where various fields where not initialized leading to segfaults
...
Bug introduced by:
commit f12f40b31a
Author: Anton Khirnov <anton@khirnov.net>
Date: Tue Aug 30 04:05:20 2011 +0200
ffmpeg: get rid of new* options.
They are confusing, irregular and redundant -- -map already contains all
the information. Stream maps can now be parsed in opt_output_file().
Add a more user-friendly default behavior in case no maps are present.
Breaks -programid for now, but it never worked properly anyway. A better
solution will be written soon.
13 years ago
Michael Niedermayer
a18ecfeb36
ffmpeg: Fix memory corruption with ffserver
...
Bug has been introduced by:
commit 1cede1d011
Author: Anton Khirnov <anton@khirnov.net>
Date: Sat Jun 25 07:43:49 2011 +0200
ffmpeg: factor common code from new_a/v/s/d_stream to new_output_stream()
13 years ago
Justin Ruggles
e34c6c9708
cook: check output buffer size before decoding
13 years ago
Justin Ruggles
6631294c26
cook: do not needlessly set *data_size to 0
13 years ago
Justin Ruggles
b277ebd508
cook: remove pointless return statements
13 years ago
Justin Ruggles
c9c841e231
cook: simplify decouple_info()
13 years ago
Justin Ruggles
f193c96f49
cook: return appropriate error codes instead of -1
13 years ago
Justin Ruggles
e694831f9d
cook: avoid hardcoded sizes in sizeof()
13 years ago
Justin Ruggles
776e9815a5
cook: remove unneeded #includes
13 years ago
Justin Ruggles
c25df22365
cook: output float samples instead of converting to int16
13 years ago
Benjamin Larsson
69e7ad8dbc
mov: Avoid divide by zero in edit list dts handling
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Michael Niedermayer
9b04f51d5f
proresenc: add forgotten bytestream include
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Reimar Döffinger
b601ded799
Add prores regression test.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Hendrik Leppkes
8689d87ac6
Revert "matroskadec: forward parsing errors to caller."
...
This reverts commit 5dd514af93
.
Silently ignoring errors allows some broken files to simply be played, instead of failing.
(cherry picked from commit 7804b0693375c1a7ba1046f7a3579e9f63c2b15a)
The intended goal (as confirmed with its author) of fixing a crash has been
fixed differently prior to the application of this patch and this patch does
notsucessfully propagate parse errors either.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Reimar Döffinger
c5865a8967
Use bytestream functions to write header.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
d9f4dc52a0
Only do 1 malloc instead of 3 and check for failure.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
5c9b9165cd
Remove unnecessary memset.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
a2db46b883
Remove useless casts.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
eac778deb3
Some minor spelling fixes.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Carl Eugen Hoyos
4d2f991187
Bump libavcodec minor version for the ProRes encoder.
13 years ago
Carl Eugen Hoyos
7afa6b4458
Warn if YCgCo colourspace is detected in H.264.
13 years ago
Carl Eugen Hoyos
7e05542aea
Add Vladimir Voroshilov's copyright header to bit.c.
13 years ago
Anatoliy Wasserman
70bab5847e
Apple ProRes encoder
...
Signed-off-by: Anatoliy Wasserman <anatoliy.wasserman@yandex.ru>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Kostya Shishkov
9a173575fd
utvideo: account for coupled lines in YUV420 format
...
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>
13 years ago
Ronald S. Bultje
8370e426e4
vp3: fix oob read for negative tokens and memleaks on error.
13 years ago
Ronald S. Bultje
bfa0f96586
vp8: fix overflow in segmentation map caching.
13 years ago
Ronald S. Bultje
38a4be3fa7
lavf: use number of output pictures for delay checks.
...
This fixes false positives of has_codec_delay_been_guessed() for
streams where not every input picture generates an output picture,
such as interlaced H264.
13 years ago