Diego Biurrun
8671488799
Use explicit struct initializers for AVCodec declarations.
14 years ago
Justin Ruggles
9ff6d0791b
adpcmenc: Set bits_per_coded_sample
14 years ago
Baptiste Coudurier
b304244b54
adpcmenc: fix QT IMA ADPCM encoder
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Baptiste Coudurier
bf334535b4
adpcmdec: Fix QT IMA ADPCM decoder
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Peter Ross
3a549eb82b
permit decoding of multichannel ADPCM_EA_XAS
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
15 years ago
Reimar Döffinger
ffe92ff9f0
Fix input buffer size check in adpcm_ea decoder.
Unfortunately the output buffer size check assumes that the
input buffer is never over-consumed, thus this actually
also allowed to write outside the output buffer if "lucky".
Based on:
git.videolan.org/ffmpeg.git
commit 701d0eb185
14 years ago
Sean McGovern
c2d3f56107
fft: avoid a signed overflow
As a signed integer, 1<<31 overflows, so force it to unsigned.
Signed-off-by: Alex Converse <alex.converse@gmail.com>
14 years ago
Luca Barbato
d554b33efe
ratecontrol: update last_qscale_for sooner
In order to make ratecontrol converge properly update the
last_qscale_for values when populating the qscale array.
It fixes the issue reported on
http://lists.libav.org/pipermail/libav-tools/2011-September/000050.html
14 years ago
Diego Biurrun
167d3b1673
prores: return more meaningful error values
14 years ago
Diego Biurrun
2161282439
prores: improve error message wording
14 years ago
Diego Biurrun
27ba121e90
prores: cosmetics: prettyprinting, drop useless parentheses
14 years ago
Diego Biurrun
2983f1f3be
prores: lowercase AVCodec name entry
All other codecs use lowercase names in that field.
14 years ago
Justin Ruggles
1993c6849c
8svx/iff: fix decoding of compressed stereo 8svx files.
Make the iff demuxer send the whole audio chunk to the decoder as a
single packet and move stereo interleaving from the iff demuxer to the
decoder.
Based on a patch by Stefano Sabatini.
git.videolan.org/ffmpeg.git
commit e280a4da2a
14 years ago
Justin Ruggles
fda459cee7
8svx: log an error message if output buffer is too small
Based on a patch by Stefano Sabatini.
git.videolan.org/ffmpeg.git
commit e280a4da2a
14 years ago
Justin Ruggles
0ac3b8fc4a
8svx: check packet size before reading the initial sample value.
14 years ago
Justin Ruggles
e371878416
8svx: output 8-bit samples instead of 16-bit.
Based on a patch by Stefano Sabatini.
git.videolan.org/ffmpeg.git
commit e280a4da2a
14 years ago
Justin Ruggles
ac68607bfe
8svx: split delta decoding into a separate function.
Based on a patch by Stefano Sabatini.
git.videolan.org/ffmpeg.git
commit e280a4da2a
14 years ago
Maxim Poliakovski
be64629a13
Apple ProRes decoder
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Laurent Aimar
fe476e5a9b
rv34: Check for invalid slices offsets
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Mans Rullgard
ae2e89717b
dct-test: factor out some common code and do whas was likely intended
This fixes some nonsensical code by moving some should-be-shared
code to separate functions and using these.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
609a2fa1fa
Remove some forgotten AVCodecContext.palctrl usage.
14 years ago
Anton Khirnov
9ecfbb3e57
lavc/utils: move avcodec_init() higher in the file.
Fixes build on next major bump.
14 years ago
Anton Khirnov
e5b29c1f6b
lavc: replace some deprecated FF_*_TYPE with AV_PICTURE_TYPE_*
14 years ago
Anton Khirnov
feedc0754b
ac3dec: actually use drc_scale private option
14 years ago
Anton Khirnov
63e4c8a653
lavc: undeprecate AVPALETTE_SIZE and AVPALETTE_COUNT macros
They are still being used and shouldn't be removed.
14 years ago
Diego Biurrun
a3e0135dbb
msmpeg4: remove leftover unused debug variable declaration
14 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.
14 years ago
Diego Biurrun
35a6855868
Fix av_dlog invocations with wrong or missing logging context.
This fixes build failures with -DDEBUG in CPPFLAGS.
14 years ago
Laurent Aimar
4cc7732386
rv34: Check for invalid slice offsets
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Laurent Aimar
b4ed3d78cb
rv34: Fix potential overreads
Signed-off-by: Martin Storsjö <martin@martin.st>
14 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>
14 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>
14 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>
14 years ago
Luca Barbato
3a78fb57de
libx264: introduce slice-max-size option
Yet another option useful for low latency streaming.
14 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>
14 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>
14 years ago
Laurent Aimar
6489455495
Check for invalid VLC value in smacker decoder.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 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>
14 years ago
Justin Ruggles
3ed7860943
include stdint.h in adpcm_data.h
fixes make checkheaders
14 years ago
Diego Biurrun
a05ea77c9f
mpeg12: reorder functions to avoid ugly forward declarations
14 years ago
Alex Converse
0872bb23b4
xan: Add some buffer checks
14 years ago
Alex Converse
350f57bd7b
xan: Remove extra trailing newline
14 years ago
Laurent Aimar
393d5031c6
Fixed size given to init_get_bits() in xan decoder.
14 years ago
Justin Ruggles
826c56d16e
adpcm: split ADPCM encoders and decoders into separate files.
Move shared tables to a separate file as well.
14 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>
14 years ago
Anton Khirnov
af1e247038
libxavs: add private options corresponding to deprecated global options
Code mostly copied from libx264 wrapper.
14 years ago
Anton Khirnov
d242d80e36
avconv: remove me_threshold option.
It's only shadowing the AVOption with the same name.
14 years ago
Laurent Aimar
8bfea4ab4e
Fixed segfault with wavpack decoder on corrupted decorrelation terms sub-blocks.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Alex Converse
0c1f5b93d9
cljr: init_get_bits size in bits instead of bytes
14 years ago
Alex Converse
b7ce4f1d1c
indeo2: fail if input buffer too small
14 years ago