Chris Evans
7149fce2ca
ogg: Avoid the possibility to read out-of-bounds of a static global array in Vorbis
...
decoding.
BUG=100543
Review URL: http://codereview.chromium.org/8365014
This fixes 25% of CVE-2011-3893
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Chris Evans
f35e037c93
mkv: Fix a bug where a pointer was cached to an array that might later move due to
...
a realloc()
BUG=100492
Review URL: http://codereview.chromium.org/8366004
Fixes: 1 of 2 for CVE-2011-3893
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Philippe Saint-Pierre
f0f2babca2
Fix possible infinite loop decoding als.
...
Reviewed-by: Thilo Borgmann
13 years ago
Andrew Ryan
4452d58c72
Insert missing newline at end of error log message in mov demuxer.
13 years ago
Carl Eugen Hoyos
84ce58faf5
Replace deprecated FF_I_TYPE with AV_PICTURE_TYPE_I in v308 and yuv4.
...
Found-by: Paul B Mahol
13 years ago
Carl Eugen Hoyos
17edc370b2
yuv4 libquicktime packed 4:2:0 encoder and decoder.
...
Reviewed-by: Derek Buitenhuis
Reviewed-by: Paul B Mahol
13 years ago
Carl Eugen Hoyos
2754514787
v308 Quicktim Uncompressed 4:4:4 encoder and decoder.
...
Reviewed-by: Derek Buitenhuis
Reviewed-by: Paul B Mahol
13 years ago
Carl Eugen Hoyos
64e4f4836a
Add decoder for Avid 1:1 10-bit RGB Packer (AVrp).
...
Fixes ticket #525 .
Reviewed-by: Paul B Mahol
13 years ago
Clément Bœsch
dc7ad85c40
doc: use @command{} for commands.
13 years ago
Clément Bœsch
837126568c
doc: use @code{} for --{enable,disable}-options.
13 years ago
Michael Niedermayer
15b219fae9
jpegdec: Fix vlc table check for progressive jpegs.
...
Fixes Ticket834
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
6072a19b4f
lavf: Fix try_decode_frame() so it doesnt loop infinitely.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f37174bc19
electronicarts: Pass error through ea_read_header().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Oana Stratulat
0d3a51e5d2
electronicarts: Fix division by zero. Fixes Ticket #793
...
Signed-off-by: Oana Stratulat <oanaandreeastratulat@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
ad1c8dd673
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
fate: add dxtory test
adx_parser: rewrite.
adxdec: Validate channel count to fix a division by zero.
adxdec: Do not require extradata.
cmdutils: K&R reformatting cosmetics
alacdec: implement the 2-pass prediction type.
alacenc: implement the 2-pass prediction type.
alacenc: do not generate invalid multi-channel ALAC files
alacdec: fill in missing or guessed info about the extradata format.
utvideo: proper median prediction for interlaced videos
lavu: bump lavu minor for av_popcount64
dca: K&R formatting cosmetics
dct: K&R formatting cosmetics
lavf: flush decoders in avformat_find_stream_info().
win32: detect number of CPUs using affinity
Add av_popcount64
snow: Restore three mistakenly removed casts.
Conflicts:
cmdutils.c
doc/APIchanges
libavcodec/adx_parser.c
libavcodec/adxdec.c
libavcodec/alacenc.c
libavutil/avutil.h
tests/fate/screen.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
d6da16dca5
ffprobe: add support to option -show_error
13 years ago
Stefano Sabatini
55ed19bf3b
ffprobe: remove unused variable in show_format()
13 years ago
Stefano Sabatini
4c5c0609c1
ffprobe: reindent after the last commit
13 years ago
Stefano Sabatini
90347dabc8
ffprobe: change order of operations in probe_file()
...
This is required by a pending patch, also fixes a memleak due to the
writer context not being closed in case of open_input_file() failure.
13 years ago
Stefano Sabatini
c972f91d5b
ffprobe: prefer av_log to fprintf(stderr)
13 years ago
Michael Niedermayer
6429269096
wmall: remove ;;
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
dde545c697
Merge remote-tracking branch 'shariman/wmall'
...
* shariman/wmall:
Fix audio output
Suppress dumping of residues buffer
Use quantizer value read from bitstream
Cosmetics: Remove two empty lines and realign some code
Reset acfilter_prevvalues buffer in clear_codec_buffers()
Fix AC filter buffers and AC filter reversion
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Oana Stratulat
fd16f56798
fate: add dxtory test
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Carl Eugen Hoyos
001567c767
Set bits_per_coded_sample when encoding Y41P.
...
This allows mplayer -vc bt411 to decode files
encoded with FFmpeg.
Reviewed-by: Paul B Mahol
13 years ago
Jean First
efaf448888
rtsp: Fix compiler warning for uninitialized variable.
...
Reviewed-by: Martin Storsjö
13 years ago
Michael Niedermayer
b024209b1f
adx_parser: rewrite.
...
The previous code ended in multiple different infinite
loops. See stl_ten_1_big.sfd as example with and without zzuf
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Justin Ruggles
6fd075f180
adxdec: Validate channel count to fix a division by zero.
13 years ago
Michael Niedermayer
4f1a787744
adxdec: Do not require extradata.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Aneesh Dogra
cbaef7d16e
cmdutils: K&R reformatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Justin Ruggles
e49d21306a
alacdec: implement the 2-pass prediction type.
...
The reference encoder does not generate any streams using this, but the
reference decoder can handle it, so we should as well.
13 years ago
Justin Ruggles
bb63475aec
alacenc: implement the 2-pass prediction type.
...
This isn't used by the reference encoder, but it is supported by the decoder.
13 years ago
Justin Ruggles
149e1b0468
alacenc: do not generate invalid multi-channel ALAC files
13 years ago
Justin Ruggles
e76c7b856f
alacdec: fill in missing or guessed info about the extradata format.
...
Now that there is official documentation from Apple about this, we don't have
to guess anymore.
13 years ago
Kostya Shishkov
490dcda6b6
utvideo: proper median prediction for interlaced videos
13 years ago
Janne Grunau
c04a954da6
lavu: bump lavu minor for av_popcount64
...
Add it to doc/APIchanges and update and correct other entries.
13 years ago
Shitiz Garg
f37b4efe03
dca: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Aneesh Dogra
2e70b2de58
dct: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Anton Khirnov
212fd3a1f1
lavf: flush decoders in avformat_find_stream_info().
...
This means that avformat_find_stream_info() now works properly with
multiple threads, so there's no need to force thread count to 1.
13 years ago
Daniel Verkamp
02e8f4272c
win32: detect number of CPUs using affinity
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Daniel Verkamp
b73ec05473
Add av_popcount64
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Piotr Bandurski
912e75169b
Support 8bpp grayscale Sun Rasterfile images.
...
Fixes ticket #865 .
13 years ago
Diego Biurrun
418f066f8c
snow: Restore three mistakenly removed casts.
13 years ago
Michael Bradshaw
2ba3416362
Added yuva420p decoding support for libopenjpeg
...
Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Bradshaw
3f07ef1dff
Added RGBA and YUV440 decoding support for libopenjpeg decoder
...
Reviewed-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Bradshaw
d1669e5fe3
Fixed openjpeg decoding bug with width/linesize issue
...
The original code wasn't taking into account the fact that linesize may not equal the frame's width. This is to correct that.
Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
69d766daa0
lavc: replace rest of deprecated SAMPLE_FMT_* with AV_SAMPLE_FMT_*
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
7099f36578
lavc: replace rest of deprecated FF_*_TYPE with AV_PICTURE_TYPE_*
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Jean First
12bdc7b15e
ffmpeg: fix compiler warning for uninitialized variables
...
Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Jean First
f2eb2e5c4f
wtvdec: use intfloat.h instead of intfloat_readwrite.h
...
Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Jean First
535705a489
ffmpeg: use avformat_close_input instead of av_close_input_file
...
Signed-off-by: Jean First <jeanfirst@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago