Reimar Döffinger
c79c960ade
Remove useless ret variable added in last revision again.
...
Originally committed as revision 19357 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
7cda815044
100l, theora_decode_init must pass on errors from vp3_decode_init
...
Originally committed as revision 19356 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
c4b7b8bf9c
Make decode_init fail if the huffman tables are invalid and thus init_vlc fails.
...
Otherwise this will crash during decoding because the vlc tables are NULL.
Partially fixes ogv/smclock.ogv.1.101.ogv from issue 1240.
Originally committed as revision 19355 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Frank Barchard
31457d7a2e
Do not fail if 'uuid' atom is encountered before 'moov'.
...
Patch by Frank Barchard, fbarchard at google dot com.
Originally committed as revision 19354 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
d03936e5aa
libfaac no longer claims to be LGPL.
...
Originally committed as revision 19353 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
29ce043374
The AltiVec code in libswscale no longer is under GPL.
...
Remove one erroneous preprocessor check for CONFIG_GPL in the AltiVec code.
Originally committed as revision 29412 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Reimar Döffinger
e13cca4b14
Ensure that the filter limit values do not exceed the maximum allowed value of 127.
...
Originally committed as revision 19351 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
7fa5f9990b
Extend init_loop_filter to work for filter limit values up to 127 instead
...
of only up to 64. 127 is the maximum value allowed by the theora specification.
Originally committed as revision 19350 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
ad92108694
Add a check to vp6_parse_coeff_huffman to ensure it does not overread the input buffer.
...
Originally committed as revision 19349 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
7576516a7e
vp56dec: ensure range coder won't read past the end of input buffer
...
Originally committed as revision 19348 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
5be5daf1e5
Check that palctrl is available on init instead of crashing when trying to use
...
it on decode.
Fixes mpeg2/smclockmpeg2.avi.2.1 from issue 1240.
Originally committed as revision 19347 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Loren Merritt
e30004fa73
fix a buffer overrun on corrupt huffyuv streams
...
Originally committed as revision 19346 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
2483298ae2
ARM: NEON VP3 IDCT
...
15% faster VP3/Theora, 10% faster VP6
Originally committed as revision 19345 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
82c9182fe3
If the end of the input buffer is reached while decoding MJPEG and at least
...
a valid SOF was found, emulate an EOI.
This allows e.g. to at least decode the available part of incomplete MJPEG frames.
Originally committed as revision 19344 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
1496b04c28
Make the MJPEG decoder return -1 when no image was decoded so that decode
...
errors are actually recognizable as such.
Originally committed as revision 19343 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
643fd8a198
Add a got_picture flag to MJpegDecodeContext which indicates if its picture
...
element is valid. Skip the code handling SOS and EOI if not, since it can not
work without a valid AVPicture.
This fixes a crash with mjpeg/smclockmjpeg.avi.1.0 from issue 1240 where the
decoder returned an invalid AVPicture.
Originally committed as revision 19342 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
b27bf2a7b4
mjpegdec: check that the coded dc_index and ac_index have a valid associated VLC table.
...
Removes some disabled dc_index/ac_index checking code that seems to have had
some undocumented issues and should not really be necessary anymore now.
Fixes from issue 1240 the files mjpeg/smclockmjpeg.avi.1.10 and mjpeg/smclockmjpeg.avi.1.171.
Originally committed as revision 19341 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
340e230392
Use enum CodecID instead of int.
...
Fixes the following icc warning:
warning #188 : enumerated type mixed with another type
Originally committed as revision 19340 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
4eba9cdd07
fix and simplify long gop mpeg codec ul computation
...
Originally committed as revision 19339 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
df1550f081
set index duration to 0 for cbr, specifying whole container coverage
...
Originally committed as revision 19338 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
76b092e207
use ber4 length for descriptors preferred by specs
...
Originally committed as revision 19337 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
6a43aab01b
write profile and level local tag in mpeg descriptor
...
Originally committed as revision 19336 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alexander Strange
e5f61b94a1
H.264: Check the return value of decode_vui_parameters()
...
Files with invalid VUI are now rejected like
other invalid SPS are.
Fixes issue1231.
Originally committed as revision 19335 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
11d058b7b3
Replace invalid Theora frame rate by 25 FPS.
...
Avoids division by 0 due to e.g. time_base denominator being 0.
Originally committed as revision 19334 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
3dcddf82ed
Check for failed extradata malloc, fixes a crash in out-of-memory conditions
...
or with extremely large extradata.
Originally committed as revision 19333 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
5a4a4d7839
Check size of "strf" header against size of enclosing "LIST" if there is one.
...
Originally committed as revision 19332 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
b098b30905
Fix indentation
...
Originally committed as revision 19331 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
68a10b40bc
Avoid divisions by 0 in the ASF demuxer if packet_size is not valid.
...
Originally committed as revision 19330 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alexander Strange
0410ee8f86
H.264: Don't set data_partitioning for invalid NAL_DPA.
...
Before, the decoder could interpret a corrupt frame
as a NAL_DPA and NAL_DPC, and then start decoding
even if decode_slice_header() returned an error.
This frequently caused crashes.
Fixes issue1228, issue1229, and partially issue1238.
Originally committed as revision 19328 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Art Clarke
bda1ad1e73
Cleanup properly at the end of MPEG Audio parsing.
...
Patch by Art Clarke (aclarke AT xuggle com)
Originally committed as revision 19327 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
e7e5d1e990
If either of num or den is 0 make both 0 in av_set_pts_info().
...
Originally committed as revision 19326 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
d218a86a0d
Make sure av_set_pts_info() does not set the fields of a timebase to
...
negative values.
Originally committed as revision 19325 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
6be8b20466
Revert r19317, "simplify slice_end, return size of output frame".
...
It returns non decodable B-frames.
Originally committed as revision 19324 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
fb6ecd7285
indent
...
Originally committed as revision 19323 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
37458d7e1b
Make sure we dont read over the end.
...
Fixes issue1237.
Originally committed as revision 19322 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
edb501c45b
Add an explanation and complete the metadata usage example.
...
Originally committed as revision 19320 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
dec14949a6
Make arguments of av_set_pts_info() unsigned.
...
Fixes issue1240/mpeg1/smclockmpeg1.avi.3.1
Originally committed as revision 19319 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
ec62d942ea
Fix potentially unaligned accesses in ff_copy_bits()
...
A pointer should never be assigned a value which may have less than the
required alignment of the target type. Compilers may assume pointer
values have the required alignment, and emit normal load/store instructions.
Unaligned pointers should use a character type or compiler-specific
type modifiers.
Originally committed as revision 19318 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
f7f1eb6cc9
simplify slice_end, return size of output frame
...
Originally committed as revision 19317 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
39c601b5e7
RV3/4 intra types array causes alignment issues (at least on ARM5), thus change
...
its stride and offset to always have align 4.
Originally committed as revision 19316 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Frank Barchard
06a497afab
Use slightly more appropriate format strings for printing decimal values.
...
patch by Frank Barchard, fbarchard google com
Originally committed as revision 19315 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
b4b9170234
Use enum PixelFormat in sws_format_name() prototype
...
Originally committed as revision 29409 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Måns Rullgård
4a30fff60d
Fix argument type mismatches for av_picture_crop and av_picture_fill
...
Originally committed as revision 19314 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
fb0a835ff4
add missing \n to error message
...
Originally committed as revision 19313 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
6816f8b8e4
ADPCM: remove unreachable break statement after return
...
Originally committed as revision 19312 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
300ad6c16e
ARM: use gcc inline asm in bswap.h only when available
...
Originally committed as revision 19311 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jason Garrett-Glaser
fe022ce2f8
Fix libx264.c to not drop SEI userdata from x264 encoder.
...
Most muxers in ffmpeg ignore the SEI if it is placed in extradata, so instead
it has to be catted to the front of the first video frame.
Originally committed as revision 19310 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Frank Barchard
cb28f95454
Use more portable 'PRId64' instead of 'llx' as conversion/length specifier.
...
patch by Frank Barchard, fbarchard google com
Originally committed as revision 19309 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
d6ced96317
ARM: enable fast_unaligned when --cpu=armv[67] is specified
...
Originally committed as revision 19308 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
8d8409ca9f
Fix nalsize check to avoid an integer overflow that made the check
...
incorrect for nalsize > INT_MAX - buf_index
Originally committed as revision 19307 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago