Commit Graph

19737 Commits

Author SHA1 Message Date
Diego Biurrun
e4732ba98b Fix sigill on non-MMX2 CPUs.
Originally committed as revision 18410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-10 11:29:51 +00:00
Thilo Borgmann
4f313925ec Use the new avcodec_decode_* API.
Patch by Thilo Borgmann name.surname AT googlemail.com.

Originally committed as revision 18409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-10 11:07:52 +00:00
Thilo Borgmann
655d47c2cb Make try_decode_frame() use the new avcodec_decode_* API.
Patch by Thilo Borgmann thilo.borgmann AT g00glemail dot com.

Originally committed as revision 18408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-10 11:03:06 +00:00
Reimar Döffinger
b6b6676085 Make sure error resilience does not try to use unavailable reference frames.
Fixes the crash described in issue 706.

Originally committed as revision 18407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-10 07:17:30 +00:00
Reimar Döffinger
15861962a7 Add a ff_h264_free_context function and call it from the H.264 parser.
This ensures that the parser will no longer leak memory for all SPS/PPS it encounters.

Originally committed as revision 18406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-10 07:01:55 +00:00
Michael Niedermayer
c81185a183 Make sure mpeg2 has its height rounded up to 32 as that is needed
for interlaced stuff.
This might have been exploitable when emu edge was not set though
note this bug has been introduced just a few days ago.

Originally committed as revision 18405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-10 00:09:07 +00:00
Michael Niedermayer
cfe675269b Do not use SSE2 SAD for snow as it requires more alignment than can be
easily provided.
Fixes issue315.

Originally committed as revision 18404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 21:53:48 +00:00
Martin Storsjö
2b12317a90 Fix documentation for the "-ps" option
Patch by Martin Storsjö (martin AT martin DOT st)

Originally committed as revision 18403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 21:52:12 +00:00
Luca Abeni
9331967007 AAC packetiser cleanup: use consts instead of #defines
Originally committed as revision 18402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 21:48:45 +00:00
Luca Abeni
ddffcb2d3a AAC packetiser cleanup: remove check for a condition that cannot happen
Originally committed as revision 18401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 21:39:07 +00:00
Martin Storsjö
d2ce53b786 Fix two checks in the AAC packetiser, which were too conservative
Patch by Martin Storsjö (martin AT martin DOT st)

Originally committed as revision 18400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 21:37:11 +00:00
Michael Niedermayer
cc0241283b Make sure the next used frame is released so get_buffer() wont fail.
Originally committed as revision 18399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 21:19:25 +00:00
Michael Niedermayer
38fd076c21 Move release_buffer() up so it is prior to a future call to it.
Originally committed as revision 18398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 21:17:53 +00:00
Michael Niedermayer
0a08b5735b Factorize release_buffer()
Originally committed as revision 18397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 20:44:18 +00:00
Michael Niedermayer
eebbb33abf Make sure spatial_decomposition_count is not too large for picture size.
this led to an infinite loop in mirror().

Originally committed as revision 18396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 20:23:13 +00:00
Michael Niedermayer
69409ccb80 Skip non intra frames that have no reference frames.
Originally committed as revision 18395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 20:13:35 +00:00
Michael Niedermayer
440882f7be Make sure spatial_decomposition_count is >0.
Originally committed as revision 18394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 19:45:10 +00:00
Michael Niedermayer
dc7f45a08e Make sure the block array is of the correct size.
This might have been exploitable.

Originally committed as revision 18393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 18:47:50 +00:00
Michael Niedermayer
bc4350a333 Check spatial_decomposition_count too, fixes another crash.
Originally committed as revision 18392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 18:37:26 +00:00
Michael Niedermayer
45d1d9794d 10l, forgot to remove old code, which broke snow.
Originally committed as revision 18391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 18:29:54 +00:00
Michael Niedermayer
158f189f82 Factorize check of read symbols.
Originally committed as revision 18390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 18:21:51 +00:00
Michael Niedermayer
a794356602 Fix spatial_decomposition_type validity check.
Fixes infinite loop (did no investigate why exactly it got stuck).

Originally committed as revision 18389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 15:33:02 +00:00
Michael Niedermayer
f0812be883 Fix crash when max_ref_frames was out of range.
This might have been exploitable.
Fixes first crash of issue840.

Originally committed as revision 18388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 15:17:03 +00:00
Diego Biurrun
985fdd534f Give liblzo benchmark conditionals more descriptive names and add convenience
definitions along with instructions for changing them.

Originally committed as revision 18387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 15:11:48 +00:00
Diego Biurrun
e467369278 Add a configure check for lzo1x_999_compress() and compile the lzo test program
in libavutil when this function is available.

Originally committed as revision 18386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 14:55:05 +00:00
Reimar Döffinger
ef12ec23fa Fix memleak in nuv demuxer: free packet already allocated packet when
returning an error in nuv_packet.

Originally committed as revision 18385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 14:16:22 +00:00
Diego Biurrun
7a709548a7 Remove unnecessary gcc_fixes.h #include.
Originally committed as revision 18384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 11:54:13 +00:00
Diego Biurrun
952f18ffe6 cosmetics: Reformat comment paragraph and fix a few typos in it.
Originally committed as revision 18383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 10:06:54 +00:00
Michael Niedermayer
cdf38a17fb Fix -ss / -t interaction with -acodec copy.
Fixes issue203

Originally committed as revision 18382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 00:13:59 +00:00
Michael Niedermayer
0127b86108 Fix mb_height for interlaced mpeg2.
This correctly fixes issue961, thanks to steven warren for spotting my mistake.

Originally committed as revision 18381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-08 20:48:44 +00:00
Ramiro Polla
e90f5b5ab1 configure: Add --enable-runtime-cpudetect
Originally committed as revision 18380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-08 20:26:18 +00:00
Ramiro Polla
10a7d21672 Rename RUNTIME_CPUDETECT to CONFIG_RUNTIME_CPUDETECT and always define it.
Originally committed as revision 29154 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-04-08 20:21:21 +00:00
Reimar Döffinger
9470511185 Correctly set packet size for partial video packets in nuv demuxer.
Originally committed as revision 18379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-08 20:20:42 +00:00
Reimar Döffinger
feb993e579 Add av_shrink_packet function for use in av_get_packet that reduces pkt->size
and ensures the following padding is correctly initialized to 0.

Originally committed as revision 18378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-08 20:19:12 +00:00
Zhentan Feng
c81604f862 Reduce code duplication.
Patch by Zhentan Feng, spyfeng gmail

Originally committed as revision 18377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-08 16:01:10 +00:00
Ronald S. Bultje
2851d2253f Document addition of new avcodec_decode_video2/audio3/subtitle2() API and
the deprecation of the old API calls.

Originally committed as revision 18376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-08 12:37:29 +00:00
Martin Storsjö
08e696c0b2 Add support for AMR audio in the RTP muxer
patch by Martin Storsjö (martin AT martin DOT st)

Originally committed as revision 18375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-08 07:16:14 +00:00
Baptiste Coudurier
17ad7b24c8 force sample for qcelp when not stored in mov, fix #968
Originally committed as revision 18374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-08 03:38:59 +00:00
Ronald S. Bultje
4bce3ba480 Reindent after r18372.
Originally committed as revision 18373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-08 03:06:08 +00:00
Ronald S. Bultje
6e9f56c127 Add waveformat-extensible support in the wav muxer.
Patch (GSoC qualfication task) by Zhentan Feng spyfeng gmail com, see
"[FFmpeg-devel] Add waveformat extensible support in wav muxer (SoC
qualification task)" thread on mailinglist.

Originally committed as revision 18372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-08 03:04:57 +00:00
Robert Swain
7b356d3951 Clarify which time_base the relevant members of AVPacket use
Originally committed as revision 18371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-08 01:45:44 +00:00
Baptiste Coudurier
3c8d144789 move codec tag tables near corresponding code
Originally committed as revision 18370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 22:34:05 +00:00
Baptiste Coudurier
08680ab8c2 cosmetics, reindent
Originally committed as revision 18369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 22:31:53 +00:00
Baptiste Coudurier
0872acc45c cosmetics, add empty line and remove useless braces
Originally committed as revision 18368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 22:31:17 +00:00
Baptiste Coudurier
b6cb99469f fix compilation, add missing parenthesis
Originally committed as revision 18367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 22:28:39 +00:00
Baptiste Coudurier
130ba4b17a comment the ipod subtitle check
Originally committed as revision 18366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 22:26:47 +00:00
Baptiste Coudurier
6452af7a33 invert condition to simplify code
Originally committed as revision 18365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 22:25:11 +00:00
Baptiste Coudurier
cf9ce6a3d6 remove no more needed code, tag is set by default
Originally committed as revision 18364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 22:23:15 +00:00
Baptiste Coudurier
2ab57c0443 cosmetics, reindent, add empty lines
Originally committed as revision 18363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 22:21:43 +00:00
Baptiste Coudurier
6b60028595 split mov_find_codec_tag in separate per format functions
Originally committed as revision 18362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 22:19:58 +00:00