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
Michael Niedermayer
0444a8c534
Update seek regression checksums due to:
...
r19300
Rewrite mp3 parser. New code is much simpler and does not drop
stuff at random.
Originally committed as revision 19306 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
b399b932b7
cosmetics, change case and comments alignment
...
Originally committed as revision 19305 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
61f9e3c16a
correctly compute frame flags with closed gop
...
Originally committed as revision 19304 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefan Gehrer
470de55aa1
fix slice header checking
...
Originally committed as revision 19303 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
822d0a6e0c
Drop code that attempts to decode frames that are prefixed by junk.
...
Too often it ends up decoding random data into noise without detecting
it (for example after seeking of some MP3 data with oddly often occurring
startcode emulation).
Fixes issue1154.
Originally committed as revision 19302 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
f3ac96e4d8
Support RGB48 PNG decoding
...
Originally committed as revision 19301 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
2073fc84ff
Rewrite mp3 parser. New code is much simpler and does not drop
...
stuff at random.
Originally committed as revision 19300 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
ad92558754
Use av_log_missing_feature in the ADTS encoder. (Pseudo reverts r19173).
...
Originally committed as revision 19299 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
07a8eef699
Fix build on Net/OpenBSD
...
The renaming in r19293 missed a few things.
Originally committed as revision 19298 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
4e622deaab
Cosmetics: group together indev/outdev dependencies.
...
Originally committed as revision 19297 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
684aa30251
Add doxy to av_log_missing_feature() etc. stating that the function is
...
primarily intended for internal use in lavc/lavf, not for use in apps.
Originally committed as revision 19296 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
4811f89bc6
Move av_log_missing_feature() from the internal.h to the public avcodec.h
...
header file.
Originally committed as revision 19295 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
ce863d7f36
Rename ff_log_missing_feature() to av_log_missing_feature().
...
Originally committed as revision 19294 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
38e54a75ab
Make the configure script select the input/output devices using
...
--enable-indev, --enable-outdev rather than --enable-demuxer,
--enable-muxer as before, same for disabling them.
Originally committed as revision 19293 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
d004179e19
indent
...
Originally committed as revision 19292 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
3fd5a75b07
id3v2.4.0 uses syncsafe integers for sizes of frames.
...
Fixes issue1234
Fixes regression introduced in r19275
Originally committed as revision 19291 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
29024501b7
Revert r19149 "Disable native Vorbis encoder"
...
Originally committed as revision 19290 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
2b75bde648
Remove inconsistent use of a @brief command in av_write_trailer()
...
doxy.
Originally committed as revision 19289 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
d1b9adf252
Use consistently the third person in doxy, as recommended by the
...
javadoc specs.
Originally committed as revision 19288 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
5227bd63a6
Fix braino.
...
Originally committed as revision 19287 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
a3a55b7848
Icc does not support attribute flatten, do not try to use it.
...
Originally committed as revision 19286 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
39a4f14643
Update ffmpeg documentation regarding metadata setting. -title,
...
-author, -copyright, -track, -album, and -year options have been
dropped in favor of -metadata.
Originally committed as revision 19285 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
da4c2dab17
Remove superfluous const.
...
Originally committed as revision 19284 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
a10de6dc4b
Replace an occurence of -1 by PIX_FMT_NONE, fixes icc warning #188 :
...
enumerated type mixed with another type
Originally committed as revision 19283 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago