Michael Niedermayer
317ca0d3f7
mpegvideo: fix out of heap array accesses
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
33775c3507
search_for_quantizers_faac: fix curband
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
bb32124577
Fix maxband limit when decoding mpc8.
...
Fixes yesterday's merge of Kostya's fix for ticket #409 .
13 years ago
Alex Converse
ecf79c4d3e
vorbis: Validate that the floor 1 X values contain no duplicates.
...
Duplicate values in this vector are explicitly banned by the Vorbis I spec
and cause divide-by-zero crashes later on.
13 years ago
Stefano Sabatini
62b39d41cd
lavc: add pkt_duration field to AVFrame
13 years ago
Kostya Shishkov
c6061443f7
Indeo Audio decoder
13 years ago
Kostya Shishkov
34271cabac
imc: make IMDCT support stereo output
...
This will be useful for Indeo Audio decoder which is almost the same
but supports stereo.
13 years ago
Kostya Shishkov
c45e2da617
imc: move channel-specific data into separate context
...
This will be useful for Indeo Audio decoder which is almost the same
but supports stereo.
13 years ago
Carl Eugen Hoyos
a3bc7f916d
Make H264 reorder buffer size message less verbose.
13 years ago
Piotr Bandurski
48fdaa1cff
snowdec: add new line to some error messages
13 years ago
Piotr Bandurski
a489db6cde
isom: add Radius DV YUV FourCCs
13 years ago
Carl Eugen Hoyos
757d5b9bfd
Fix MP2 muxer Makefile dependencies.
...
Found, analysed and tested by trac user Jamal.
Fixes ticket #1411
13 years ago
Kostya Shishkov
b56825c40e
mpc8: fix maximum bands handling
...
In Musepack SV8 codec property tell the maximum nonzero band, but every
frame codes maximum band as a limit (i.e. strictly less than given value).
Synthesis also expects maximum nonzero band, so there's a need to convert
frame maximum band limit value.
13 years ago
Alex Converse
79c8e29a7e
aacdec: Turn PS off when switching to stereo and turn it to implicit when switching to mono.
13 years ago
Carl Eugen Hoyos
6b87f0707d
Do not try to encode DVCPRO HD, it produces broken files.
13 years ago
Carl Eugen Hoyos
0a3e15690f
Allow colour space autodetection when encoding ljpeg.
...
This works as expected if the input stream is not yuv4xxp.
Reviewed-by: Paul B Mahol
13 years ago
Carl Eugen Hoyos
02c2a54bf6
Remove misplaced comment.
13 years ago
Paul B Mahol
b0f6df28de
libopenjpeg: YUV410P and YUV411P support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Carl Eugen Hoyos
568a592418
Fix compilation condition for some ProRes dsp encoder functions.
...
Found, analysed and tested by trac user Jamal.
Fixes part of Ticket #1404 .
13 years ago
Carl Eugen Hoyos
84986b4e61
Fix compilation condition for some ProRes dsp decoder functions.
...
Found, analysed and tested by trac user Jamal.
Fixes part of Ticket #1404 .
13 years ago
Carl Eugen Hoyos
a4b885d55e
Fix ProRes decoder Makefile dependencies.
...
Found, analysed and tested by trac user Jamal.
Fixes part of Ticket #1404 .
13 years ago
Carl Eugen Hoyos
c02ef07881
Fix G.723.1 encoder Makefile dependencies.
13 years ago
Clément Bœsch
6b35f1a2a6
timecode: move timecode muxer options to metadata.
...
Some demuxers set a timecode in the format or streams metadata. The
muxers now make use of this metadata instead of a duplicated private
option.
This makes possible transparent copy of the timecode when transmuxing
and transcoding.
-timecode option for MPEG1/2 codec is also renamed to -gop_timecode. The
global ffmpeg -timecode option will set it anyway so no option change
visible for the user.
13 years ago
Michael Niedermayer
38c9ebd2a9
ffv1dec: print more information for -debug 1
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
730d079bf7
ffv1: fix log level of FF_DEBUG_PICT_INFO
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
e10eac910a
lavc/raw: add test utility for listing fourcc/pix_fmt map
...
The test program is useful for checking which raw formats are currently
identified by a codec tag.
13 years ago
Michael Niedermayer
a5c7525bcb
set some categories of some AVClass structs
...
Please help setting the category for all remaining AVClasses
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
44c10168cf
mpc8: fix channel checks
...
fix heap array overflow
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a5ad3c2382
av_get_audio_frame_duration: fix FPE
...
Fixes ticket1392
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Kostya Shishkov
96fadfb158
bmv: add stricter checks for invalid decoded length
...
This makes decoder handle random data passed as BMV frame data.
13 years ago
Michael Niedermayer
6df1cfa7e4
mace: check channel count, fixes FPE
...
Fixes ticket1391
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
cc229d4e83
h263: disable loop filter with lowres
...
Fixes ticket1212
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
cf3a1948e9
avpacket: fix duplicating side data.
...
Use correct side data size instead of just zeroed field.
13 years ago
Mans Rullgard
d0f34c96b1
aacsbr: remove unused variables
13 years ago
Michael Niedermayer
0e3cec9f7d
aacsbr: optimize sine level addition
...
Based-on commit by Måns Rullgård <mans@mansr.com>
original: 1424 decicycles in phi, 1024 runs, 0 skips
mans code: 1104 decicycles in phi, 1024 runs, 0 skips
this change: 734 decicycles in phi, 1024 runs, 0 skips
mans code: 1 file changed, 20 insertions(+), 10 deletions(-)
this change: 1 file changed, 10 insertions(+), 6 deletions(-)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e95233789c
mpc7: fix handling of last frame
...
Fixes heap buffer overflow
Fixes ticket1393
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
82570d2f09
png_parser: dont falsely mark frames as keyframes
...
Fixes Ticket1381
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b3675f890a
bink: fix out of reference frame read
...
Fixes Ticket1374
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
fb4e434cfb
h264: log debug output for slightly truncated streams
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
cd0f9f00a2
h264: try to better handle h264 streams that are slightly truncated
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
debbcfae60
bmv: fix apparent sign error in the frame_off check
...
Fixes part of Ticket1373
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
679c578cb8
bmv: fix integer overflows in vlc decoder.
...
Fixes part of Ticket1373
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Based-on-patch-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
9ebe6e3910
ffv1: fix integer overflow in quant table initialization
...
Fixes part of Ticket1372
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
97c281d5b7
ffv1: fix crash caused by version becoming inconsistent
...
Fixes part of Ticket1372
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
0bae6661cd
fraps: fix version 0/1 input data size check.
...
Fixes array overread.
Fixes Ticket1371
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f23a2418fb
wmv1: check that the input buffer is large enough
...
Fixes null ptr deref
Fixes Ticket1367
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
0d83edaba9
dct-test: give emms a memory clober.
...
Without this, the compiler in theory could attempt to keep
things in float registers across the emms which would cause
bad things to happen.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
461030a7ac
dct-test: perform emms before gettime().
...
This fixes the hypothetical case of a gettime implementation using floats
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
0766b6e3ec
rv20: fix lowres out of array read
...
Fixes Ticket1239
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
febc013dc5
yopdec: check frame oddness to be within supported limits
...
Fixes Ticket1365
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago