Stefano Sabatini
efd6cbc5dd
flicvideo: fix crash on flic files with invalid frame size
...
Add a check in flic_decode_frame_8BPP(), in case chunk_size is >
frame_size issue a warning and resize chunk_size to frame_size, in
order to avoid out-of-buffer reads.
Fix roundup issue #2520 , trac issue #69 .
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
14 years ago
Stefano Sabatini
cd1872799d
flicvideo: increase error level and fix error message in CHECK_PIXEL_PTR()
...
Also return AVERROR_INVALIDDATA rather than -1.
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
14 years ago
Michael Niedermayer
3d462373f8
aac: add math.h needed for log2f()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Carl Eugen Hoyos
e499187f2e
Fix compilation with libcelt on Apple OS X.
...
Fixes ticket #97 .
14 years ago
Carl Eugen Hoyos
4b5c21757b
Fix compilation after version bump.
14 years ago
Diego Biurrun
d9dee728b8
Use av_log_ask_for_sample() to request samples from users.
14 years ago
Diego Biurrun
44f566b79a
Make av_log_ask_for_sample() accept a variable number of arguments.
14 years ago
Robert Leatherwood
03ac799128
Rm duplicated define for OPT_STR.
14 years ago
Diego Biurrun
b2832c3904
vqavideo: We no longer need to ask for version 1 samples.
14 years ago
Michael Niedermayer
cc0ac0d2cb
rv10: set flags, Fixes Ticket90
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Young Han Lee
9978ed7d6c
aacdec: indentation cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Ronald S. Bultje
94f7451a3a
Introduce slice threads flag.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Michael Niedermayer
89f903b3d5
AMV: Fix possibly exploitable crash.
...
Reported-at: Thu, 21 Apr 2011 14:38:25 +0000
Reported-by: Dominic Chell <Dominic.Chell@ngssecure.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
73a51e00a7
mjpeg: Detect overreads in mjpeg_decode_scan() and error out.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Diego Biurrun
70fb031ce2
Use av_log_ask_for_sample() where appropriate.
14 years ago
Baptiste Coudurier
20a160484f
In libx264 wrapper, detect default settings and use medium profile to avoid failure.
14 years ago
Anton Khirnov
65af48b559
lavc: provide deprecated avcodec_thread_init until next major version
...
It was deprecated only recently.
14 years ago
Anton Khirnov
095290f9a4
lavc: provide the opt.h header until the next bump
...
AVOptions were moved to libavutil only recently.
14 years ago
Baptiste Coudurier
2c18893a91
In libx264 wrapper, correctly support 2pass log filename option.
14 years ago
Nicolas George
89451dd6e4
Xiph CELT/Opus decoder using libcelt.
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
14 years ago
Carl Eugen Hoyos
ddb00ad1d8
Move the info union to the end of the vdpau_render_state struct.
14 years ago
Baptiste Coudurier
f92b0084c0
In libx264 wrapper, add -level specific option.
14 years ago
Baptiste Coudurier
37c0a443f9
Fix libx264 fastfirstpass, move apply_fastfirstpass after user customized options.
14 years ago
Baptiste Coudurier
46f83e5b3c
In libx264 wrapper, do not set pic quality if no frame is output, avoids
...
uninitialized reads.
14 years ago
Justin Ruggles
31d76ec288
In avcodec_open(), set return code to an error value only when an error occurs
...
instead of unconditionally at the start of the function.
This fixes a bug where a successful call to ff_thread_init() masks errors that
occur after that point in the function. It also makes future bugs like this
less likely since the error code is now set near to the point in the code
where the error is found.
14 years ago
Anton Khirnov
cda7aa9eba
lavc: remove reference to opt.h from Makefile.
...
Fixes make install after 3453a231a6
.
14 years ago
Anton Khirnov
3453a231a6
lavc: remove misc disabled cruft.
14 years ago
Anton Khirnov
251cf997cf
lavc: remove the FF_API_INOFFICIAL cruft.
14 years ago
Anton Khirnov
41d0eb1c81
lavc: remove the FF_API_SET_STRING_OLD cruft.
14 years ago
Anton Khirnov
01a4259b8d
lavc: remove the FF_API_USE_LPC cruft.
14 years ago
Anton Khirnov
db4d3a7421
lavc: remove the FF_API_SUBTITLE_OLD cruft.
14 years ago
Anton Khirnov
e89e5afdd0
lavc: remove the FF_API_VIDEO_OLD cruft.
14 years ago
Anton Khirnov
9b4f1cdb6a
lavc: remove the FF_API_AUDIO_OLD cruft.
14 years ago
Anton Khirnov
20d33ee8b1
lavc: remove the FF_API_OPT_SHOW cruft.
14 years ago
Anton Khirnov
42420e7b94
lavc: remove the FF_API_MM_FLAGS cruft.
14 years ago
Diego Biurrun
151cd4f982
pcm: Add const to cast in ENCODE macro.
...
This fixes a lot of warnings of the sort:
libavcodec/pcm.c:105: warning: cast discards qualifiers from pointer target type
14 years ago
Nicolas George
e61b83d29e
Ogg: add support for Xiph's CELT (Opus) codec.
...
This patch also introduces CODEC_ID_CELT.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
14 years ago
Peter Belkner
39e69d0b88
32bit libmp3lame support.
14 years ago
Peter Belkner
22fa406f38
Check avcodec_alloc_frame() failure.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Gavin Kinsey
25347c880f
Fix compilation.for iOS ARMv7.
14 years ago
Carl Eugen Hoyos
9b53bb8b3b
Only ask once in the code for a TrueHD sample with strange channel layout.
14 years ago
Carl Eugen Hoyos
d3f126df4b
Also set the MLP/TrueHD channel layout in the decoder.
...
Applications might not use the parser,
14 years ago
Carl Eugen Hoyos
280a789fe2
Make MLP/TrueHD channel layout functions visible to the decoder.
14 years ago
Luca Barbato
facc48f157
libvo-aacenc,libvo-amrwbenc}: fix api usage
...
Use the correct error codes and format identifier.
14 years ago
Bill Pringlemeir
fccff6e83a
Allow h264pred_init_arm.c to compile.
...
SOB: Bill Pringlemeir <bpringlemeir@yahoo.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Peter Ross
62931e11d6
anm decoder: move buffer allocation from decode_init() to decode_frame()
...
This permits playback in ffplay when libavfilter is enabled.
Resolves ticket #60
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Anton Khirnov
139f3ac42d
Bump major versions of all libraries.
...
They've accumulated enough new APIs and corresponding deprecated cruft.
This breaks API and ABI.
14 years ago
Diego Biurrun
f0a41afd8a
Replace mplayerhq.hu URLs by libav.org.
14 years ago
Diego Biurrun
259a3e70ed
ptx: Use av_log_ask_for_sample() where appropriate.
14 years ago
Alexander Strange
7e2eb4bacd
Merge remote-tracking branch 'ffmpeg-mt/master'
...
* ffmpeg-mt/master:
Release unused pictures even when not calling ff_h264_frame_start()
h264: Fix decoding race condition with PAFF
h264: cosmetic whitespace change
Duplicate Fix REBASE_PICTURE with h.264
Not pulled Update test scripts to use ffmpeg instead of ffmpeg_g
Duplicate Fix ffmpeg-mt fixme in h264
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago