]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
15 years agoIgnore .d and .ho files.
diego [Fri, 10 Apr 2009 11:32:09 +0000 (11:32 +0000)]
Ignore .d and .ho files.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18412 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd forgotten void return type to ff_h264_free_context
reimar [Fri, 10 Apr 2009 11:31:55 +0000 (11:31 +0000)]
Add forgotten void return type to ff_h264_free_context

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18411 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix sigill on non-MMX2 CPUs.
diego [Fri, 10 Apr 2009 11:29:51 +0000 (11:29 +0000)]
Fix sigill on non-MMX2 CPUs.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18410 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUse the new avcodec_decode_* API.
stefano [Fri, 10 Apr 2009 11:07:52 +0000 (11:07 +0000)]
Use the new avcodec_decode_* API.

Patch by Thilo Borgmann name.surname AT googlemail.com.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18409 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMake try_decode_frame() use the new avcodec_decode_* API.
stefano [Fri, 10 Apr 2009 11:03:06 +0000 (11:03 +0000)]
Make try_decode_frame() use the new avcodec_decode_* API.

Patch by Thilo Borgmann thilo.borgmann AT g00glemail dot com.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18408 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMake sure error resilience does not try to use unavailable reference frames.
reimar [Fri, 10 Apr 2009 07:17:30 +0000 (07:17 +0000)]
Make sure error resilience does not try to use unavailable reference frames.
Fixes the crash described in issue 706.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18407 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd a ff_h264_free_context function and call it from the H.264 parser.
reimar [Fri, 10 Apr 2009 07:01:55 +0000 (07:01 +0000)]
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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18406 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMake sure mpeg2 has its height rounded up to 32 as that is needed
michael [Fri, 10 Apr 2009 00:09:07 +0000 (00:09 +0000)]
Make sure mpeg2 has its height rounded up to 32 as that is needed
for iterlaced stuff.
This might have been exploitable when emu edge was not set though
note this bug has been introduced just a few days ago.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18405 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDont use SSE2 SAD for snow as it requires more alignment than can be
michael [Thu, 9 Apr 2009 21:53:48 +0000 (21:53 +0000)]
Dont use SSE2 SAD for snow as it requires more alignment than can be
easily provided.
Fixes issue315.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18404 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix documentation for the "-ps" option
lucabe [Thu, 9 Apr 2009 21:52:12 +0000 (21:52 +0000)]
Fix documentation for the "-ps" option
Patch by Martin Storsjö (martin AT martin DOT st)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18403 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAAC packetiser cleanup: use consts instead of #defines
lucabe [Thu, 9 Apr 2009 21:48:45 +0000 (21:48 +0000)]
AAC packetiser cleanup: use consts instead of #defines

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18402 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAAC packetiser cleanup: remove check for a condition that cannot happen
lucabe [Thu, 9 Apr 2009 21:39:07 +0000 (21:39 +0000)]
AAC packetiser cleanup: remove check for a condition that cannot happen

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18401 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix two checks in the AAC packetiser, which were too conservative
lucabe [Thu, 9 Apr 2009 21:37:11 +0000 (21:37 +0000)]
Fix two checks in the AAC packetiser, which were too conservative
Patch by Martin Storsjö (martin AT martin DOT st)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18400 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMake sure the next used frame is released so get_buffer() wont fail.
michael [Thu, 9 Apr 2009 21:19:25 +0000 (21:19 +0000)]
Make sure the next used frame is released so get_buffer() wont fail.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18399 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMove release_buffer() up so it is prior to a future call to it.
michael [Thu, 9 Apr 2009 21:17:53 +0000 (21:17 +0000)]
Move release_buffer() up so it is prior to a future call to it.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18398 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFactorize release_buffer()
michael [Thu, 9 Apr 2009 20:44:18 +0000 (20:44 +0000)]
Factorize release_buffer()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18397 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMake sure spatial_decomposition_count is not too large for picture size.
michael [Thu, 9 Apr 2009 20:23:13 +0000 (20:23 +0000)]
Make sure spatial_decomposition_count is not too large for picture size.
this led to an infinite loop in mirror().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18396 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSkip non intra frames that have no reference frames.
michael [Thu, 9 Apr 2009 20:13:35 +0000 (20:13 +0000)]
Skip non intra frames that have no reference frames.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18395 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMake sure spatial_decomposition_count is >0.
michael [Thu, 9 Apr 2009 19:45:10 +0000 (19:45 +0000)]
Make sure spatial_decomposition_count is >0.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18394 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMake sure the block array is of the correct size.
michael [Thu, 9 Apr 2009 18:47:50 +0000 (18:47 +0000)]
Make sure the block array is of the correct size.
This might have been exploitable.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18393 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoCheck spatial_decomposition_count too, fixes another crash.
michael [Thu, 9 Apr 2009 18:37:26 +0000 (18:37 +0000)]
Check spatial_decomposition_count too, fixes another crash.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18392 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years ago10l, forgot to remove old code, which broke snow.
michael [Thu, 9 Apr 2009 18:29:54 +0000 (18:29 +0000)]
10l, forgot to remove old code, which broke snow.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18391 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFactorize check of read symbols.
michael [Thu, 9 Apr 2009 18:21:51 +0000 (18:21 +0000)]
Factorize check of read symbols.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18390 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix spatial_decomposition_type validity check.
michael [Thu, 9 Apr 2009 15:33:02 +0000 (15:33 +0000)]
Fix spatial_decomposition_type validity check.
Fixes infinite loop (did no investigate why exactly it got stuck).

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18389 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix crash when max_ref_frames was out of range.
michael [Thu, 9 Apr 2009 15:17:03 +0000 (15:17 +0000)]
Fix crash when max_ref_frames was out of range.
This might have been exploitable.
Fixes first crash of issue840.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18388 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoGive liblzo benchmark conditionals more descriptive names and add convenience
diego [Thu, 9 Apr 2009 15:11:48 +0000 (15:11 +0000)]
Give liblzo benchmark conditionals more descriptive names and add convenience
definitions along with instructions for changing them.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18387 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd a configure check for lzo1x_999_compress() and compile the lzo test program
diego [Thu, 9 Apr 2009 14:55:05 +0000 (14:55 +0000)]
Add a configure check for lzo1x_999_compress() and compile the lzo test program
in libavutil when this function is available.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18386 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix memleak in nuv demuxer: free packet already allocated packet when
reimar [Thu, 9 Apr 2009 14:16:22 +0000 (14:16 +0000)]
Fix memleak in nuv demuxer: free packet already allocated packet when
returning an error in nuv_packet.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18385 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove unnecessary gcc_fixes.h #include.
diego [Thu, 9 Apr 2009 11:54:13 +0000 (11:54 +0000)]
Remove unnecessary gcc_fixes.h #include.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18384 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocosmetics: Reformat comment paragraph and fix a few typos in it.
diego [Thu, 9 Apr 2009 10:06:54 +0000 (10:06 +0000)]
cosmetics: Reformat comment paragraph and fix a few typos in it.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18383 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix -ss / -t interaction with -acodec copy.
michael [Thu, 9 Apr 2009 00:13:59 +0000 (00:13 +0000)]
Fix -ss / -t interaction with -acodec copy.
Fixes issue203

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18382 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix mb_height for interlaced mpeg2.
michael [Wed, 8 Apr 2009 20:48:44 +0000 (20:48 +0000)]
Fix mb_height for interlaced mpeg2.
This correctly fixes issue961, thanks to steven warren for spoting my
mistake.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18381 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoconfigure: Add --enable-runtime-cpudetect
ramiro [Wed, 8 Apr 2009 20:26:18 +0000 (20:26 +0000)]
configure: Add --enable-runtime-cpudetect

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18380 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoCorrectly set packet size for partial video packets in nuv demuxer.
reimar [Wed, 8 Apr 2009 20:20:42 +0000 (20:20 +0000)]
Correctly set packet size for partial video packets in nuv demuxer.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18379 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd av_shrink_packet function for use in av_get_packet that reduces pkt->size
reimar [Wed, 8 Apr 2009 20:19:12 +0000 (20:19 +0000)]
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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18378 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoReduce code duplication.
cehoyos [Wed, 8 Apr 2009 16:01:10 +0000 (16:01 +0000)]
Reduce code duplication.

Patch by Zhentan Feng, spyfeng gmail

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18377 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDocument addition of new avcodec_decode_video2/audio3/subtitle2() API and
rbultje [Wed, 8 Apr 2009 12:37:29 +0000 (12:37 +0000)]
Document addition of new avcodec_decode_video2/audio3/subtitle2() API and
the deprecation of the old API calls.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18376 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd support for AMR audio in the RTP muxer
lucabe [Wed, 8 Apr 2009 07:16:14 +0000 (07:16 +0000)]
Add support for AMR audio in the RTP muxer
patch by Martin Storsjö (martin AT martin DOT st)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18375 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoforce sample for qcelp when not stored in mov, fix #968
bcoudurier [Wed, 8 Apr 2009 03:38:59 +0000 (03:38 +0000)]
force sample for qcelp when not stored in mov, fix #968

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18374 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoReindent after r18372.
rbultje [Wed, 8 Apr 2009 03:06:08 +0000 (03:06 +0000)]
Reindent after r18372.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18373 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd waveformat-extensible support in the wav muxer.
rbultje [Wed, 8 Apr 2009 03:04:57 +0000 (03:04 +0000)]
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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18372 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoClarify which time_base the relevant members of AVPacket use
superdump [Wed, 8 Apr 2009 01:45:44 +0000 (01:45 +0000)]
Clarify which time_base the relevant members of AVPacket use

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18371 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agomove codec tag tables near corresponding code
bcoudurier [Tue, 7 Apr 2009 22:34:05 +0000 (22:34 +0000)]
move codec tag tables near corresponding code

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18370 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocosmetics, reindent
bcoudurier [Tue, 7 Apr 2009 22:31:53 +0000 (22:31 +0000)]
cosmetics, reindent

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18369 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocosmetics, add empty line and remove useless braces
bcoudurier [Tue, 7 Apr 2009 22:31:17 +0000 (22:31 +0000)]
cosmetics, add empty line and remove useless braces

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18368 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agofix compilation, add missing parenthesis
bcoudurier [Tue, 7 Apr 2009 22:28:39 +0000 (22:28 +0000)]
fix compilation, add missing parenthesis

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18367 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocomment the ipod subtitle check
bcoudurier [Tue, 7 Apr 2009 22:26:47 +0000 (22:26 +0000)]
comment the ipod subtitle check

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18366 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoinvert condition to simplify code
bcoudurier [Tue, 7 Apr 2009 22:25:11 +0000 (22:25 +0000)]
invert condition to simplify code

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18365 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoremove no more needed code, tag is set by default
bcoudurier [Tue, 7 Apr 2009 22:23:15 +0000 (22:23 +0000)]
remove no more needed code, tag is set by default

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18364 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocosmetics, reindent, add empty lines
bcoudurier [Tue, 7 Apr 2009 22:21:43 +0000 (22:21 +0000)]
cosmetics, reindent, add empty lines

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18363 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agosplit mov_find_codec_tag in separate per format functions
bcoudurier [Tue, 7 Apr 2009 22:19:58 +0000 (22:19 +0000)]
split mov_find_codec_tag in separate per format functions

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18362 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoImprove grammar/comprehensibility of the lavu 50.2.0 entry.
stefano [Tue, 7 Apr 2009 21:59:16 +0000 (21:59 +0000)]
Improve grammar/comprehensibility of the lavu 50.2.0 entry.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18361 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAlways return 0 if read_packet is successful.
reimar [Tue, 7 Apr 2009 21:25:02 +0000 (21:25 +0000)]
Always return 0 if read_packet is successful.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18360 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDo not uselessly read version string into a buffer.
reimar [Tue, 7 Apr 2009 21:16:11 +0000 (21:16 +0000)]
Do not uselessly read version string into a buffer.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18359 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDescribe read_alloc return value and required pkt handling to avoid memleaks
reimar [Tue, 7 Apr 2009 21:10:10 +0000 (21:10 +0000)]
Describe read_alloc return value and required pkt handling to avoid memleaks

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18358 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoError out also when reading nuv header returns with partial data and return
reimar [Tue, 7 Apr 2009 20:52:37 +0000 (20:52 +0000)]
Error out also when reading nuv header returns with partial data and return
AVERROR(EIO) then.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18357 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoset bits_per_coded_sample for rawvideo
bcoudurier [Tue, 7 Apr 2009 20:47:56 +0000 (20:47 +0000)]
set bits_per_coded_sample for rawvideo

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18356 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agooverride mov fourcc for pcm audio, this is safer when stream copying
bcoudurier [Tue, 7 Apr 2009 20:37:30 +0000 (20:37 +0000)]
override mov fourcc for pcm audio, this is safer when stream copying

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18355 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix second amr_nb_decode_frame() to also use the new AVPacket argument
superdump [Tue, 7 Apr 2009 19:29:00 +0000 (19:29 +0000)]
Fix second amr_nb_decode_frame() to also use the new AVPacket argument

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18354 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMove av_packet_*() functions from libavformat/ to libavcodec/, where the
rbultje [Tue, 7 Apr 2009 18:31:14 +0000 (18:31 +0000)]
Move av_packet_*() functions from libavformat/ to libavcodec/, where the
AVPacket structure now resides also.

Patch by Thilo Borgmann thilo.borgmann googlemail com, see the mailinglist
thread "Google Summer of Code participation" for additional discussion.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18353 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agofix vp5/vp6 decoding by using new prototype for decode function
aurel [Tue, 7 Apr 2009 18:24:47 +0000 (18:24 +0000)]
fix vp5/vp6 decoding by using new prototype for decode function

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18352 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoImplement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
rbultje [Tue, 7 Apr 2009 15:59:50 +0000 (15:59 +0000)]
Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows
passing of packet-specific flags from demuxer to decoder, such as the keyframe
flag, which appears necessary to playback corePNG P-frames.

Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread
"Google Summer of Code participation" on the mailinglist.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18351 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMove AVPacket up a bit, so that structs/functions that include AVPacket can
rbultje [Tue, 7 Apr 2009 15:37:26 +0000 (15:37 +0000)]
Move AVPacket up a bit, so that structs/functions that include AVPacket can
themselves be reasonably positioned.

Patch by Thilo Borgmann thilo.borgmann googlemail com, see mailinglist thread
"[FFmpeg-devel] Google Summer of Code participation".

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18350 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agouse av_freep() instead of av_free() + =NULL.
aurel [Tue, 7 Apr 2009 12:31:28 +0000 (12:31 +0000)]
use av_freep() instead of av_free() + =NULL.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18349 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix the copyright year
lucabe [Tue, 7 Apr 2009 12:28:41 +0000 (12:28 +0000)]
Fix the copyright year

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18348 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd support for H.263 video in the RTP muxer
lucabe [Tue, 7 Apr 2009 06:41:55 +0000 (06:41 +0000)]
Add support for H.263 video in the RTP muxer
patch by Martin Storsjö (martin AT martin DOT st)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18347 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDo not return payload type 34 for H.263 (it is deprecated)
lucabe [Tue, 7 Apr 2009 06:37:12 +0000 (06:37 +0000)]
Do not return payload type 34 for H.263 (it is deprecated)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18346 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMove scale factor computation to its own function. Patch by Kenan
reynaldo [Tue, 7 Apr 2009 01:39:17 +0000 (01:39 +0000)]
Move scale factor computation to its own function. Patch by Kenan
Gillet.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18345 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoTry to honor even completely invalid motion vectors as far as is
michael [Mon, 6 Apr 2009 21:45:02 +0000 (21:45 +0000)]
Try to honor even completely invalid motion vectors as far as is
easy.
Fixes issue961.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18344 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoOnly insert the SPS and PPS NALs in sprop-parameter-sets
lucabe [Mon, 6 Apr 2009 21:04:26 +0000 (21:04 +0000)]
Only insert the SPS and PPS NALs in sprop-parameter-sets
Patch by Martin Storsjö (martin AT martin DOT st)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18343 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd missing entry corresponding to r18163.
stefano [Mon, 6 Apr 2009 17:44:31 +0000 (17:44 +0000)]
Add missing entry corresponding to r18163.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18342 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoCosmetics: remove empty line.
stefano [Mon, 6 Apr 2009 17:41:15 +0000 (17:41 +0000)]
Cosmetics: remove empty line.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18341 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix minor version for the r18116 entry: minor was not bumped in that
stefano [Mon, 6 Apr 2009 17:39:39 +0000 (17:39 +0000)]
Fix minor version for the r18116 entry: minor was not bumped in that
revision.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18340 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd convenience macros for 5.0/5.1 back speaker configurations.
jbr [Mon, 6 Apr 2009 01:07:09 +0000 (01:07 +0000)]
Add convenience macros for 5.0/5.1 back speaker configurations.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18339 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agomlpdec: Filters and matrices may change only once per substream per access unit.
ramiro [Mon, 6 Apr 2009 00:58:03 +0000 (00:58 +0000)]
mlpdec: Filters and matrices may change only once per substream per access unit.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18338 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agomlpdec: There must be no extraword for MLP.
ramiro [Sun, 5 Apr 2009 20:54:19 +0000 (20:54 +0000)]
mlpdec: There must be no extraword for MLP.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18337 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agomlpdec: Validate non-restart bit from the substream header.
ramiro [Sun, 5 Apr 2009 20:46:53 +0000 (20:46 +0000)]
mlpdec: Validate non-restart bit from the substream header.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18336 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agomlpdec: matrix_out_ch must not be greater than max_matrix_channel, and not max_channel.
ramiro [Sun, 5 Apr 2009 20:11:40 +0000 (20:11 +0000)]
mlpdec: matrix_out_ch must not be greater than max_matrix_channel, and not max_channel.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18335 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMake sure the last bits of huffyuv frames are zeroed.
michael [Sun, 5 Apr 2009 13:02:47 +0000 (13:02 +0000)]
Make sure the last bits of huffyuv frames are zeroed.
Fixes issue946

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18334 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoARM: NEON optimized put_signed_pixels_clamped
conrad [Sat, 4 Apr 2009 21:02:48 +0000 (21:02 +0000)]
ARM: NEON optimized put_signed_pixels_clamped

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18333 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoARM: NEON optimised add_pixels_clamped
mru [Sat, 4 Apr 2009 20:18:58 +0000 (20:18 +0000)]
ARM: NEON optimised add_pixels_clamped

Based on patch by David Conrad.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18332 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd missing static qualifier from function declaration. Patch by Kenan
reynaldo [Sat, 4 Apr 2009 16:27:54 +0000 (16:27 +0000)]
Add missing static qualifier from function declaration. Patch by Kenan
Gillet.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18331 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRename FF_MM_MMXEXT to FF_MM_MMX2, for both clarity and consistency
stefano [Sat, 4 Apr 2009 13:20:53 +0000 (13:20 +0000)]
Rename FF_MM_MMXEXT to FF_MM_MMX2, for both clarity and consistency
with libswscale.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18330 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove JACK input device addition entry.
stefano [Fri, 3 Apr 2009 21:28:04 +0000 (21:28 +0000)]
Remove JACK input device addition entry.

The addition of a new component is not considered an API change.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18329 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDo not fail on zero packets.
michael [Fri, 3 Apr 2009 15:32:31 +0000 (15:32 +0000)]
Do not fail on zero packets.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18328 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMark line_skip3 asm argument as output-only instead of using av_uninit.
reimar [Fri, 3 Apr 2009 14:03:49 +0000 (14:03 +0000)]
Mark line_skip3 asm argument as output-only instead of using av_uninit.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18327 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMark put_signed_pixels_clamped_mmx output operands as early-clobber because
reimar [Fri, 3 Apr 2009 14:02:34 +0000 (14:02 +0000)]
Mark put_signed_pixels_clamped_mmx output operands as early-clobber because
they are. Hopefully fixes some FATE errors, too.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18326 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUse DECLARE_ASM_CONST for non-global ff_vector128 constant used via MANGLE
reimar [Fri, 3 Apr 2009 14:01:24 +0000 (14:01 +0000)]
Use DECLARE_ASM_CONST for non-global ff_vector128 constant used via MANGLE

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18325 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd VC-1 bitstream decoding through VA API.
gb [Fri, 3 Apr 2009 07:40:58 +0000 (07:40 +0000)]
Add VC-1 bitstream decoding through VA API.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18324 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUpdate after the last two commits.
stefano [Fri, 3 Apr 2009 00:06:17 +0000 (00:06 +0000)]
Update after the last two commits.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18323 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoImplement JACK input device.
stefano [Thu, 2 Apr 2009 23:53:47 +0000 (23:53 +0000)]
Implement JACK input device.

Patch by Olivier Guilyardi list samalyse com.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18322 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoImplement av_fifo_space().
stefano [Thu, 2 Apr 2009 23:22:19 +0000 (23:22 +0000)]
Implement av_fifo_space().

Patch by Olivier Guilyardi list et samalyse DOT c0m.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18321 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix lzo-test linking: -llzo2 should be in ELIBS, not EXTRALIBS.
diego [Thu, 2 Apr 2009 22:41:58 +0000 (22:41 +0000)]
Fix lzo-test linking: -llzo2 should be in ELIBS, not EXTRALIBS.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18320 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRewrite put_signed_pixels_clamped_mmx() to eliminate mmx.h from dsputil_mmx.c.
alexc [Thu, 2 Apr 2009 21:02:42 +0000 (21:02 +0000)]
Rewrite put_signed_pixels_clamped_mmx() to eliminate mmx.h from dsputil_mmx.c.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18319 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUpdate after the last API change.
stefano [Thu, 2 Apr 2009 20:24:15 +0000 (20:24 +0000)]
Update after the last API change.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18318 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMove AVPacket declaration from avformat.h to avcodec.h.
stefano [Thu, 2 Apr 2009 19:53:53 +0000 (19:53 +0000)]
Move AVPacket declaration from avformat.h to avcodec.h.

Patch by Thilo Borgmann thilo dot borgmann at googlemail _dot_ com.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18317 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMap MOV fourcc YUV2 correctly to PIX_FMT_YUYV422.
cehoyos [Thu, 2 Apr 2009 12:15:04 +0000 (12:15 +0000)]
Map MOV fourcc YUV2 correctly to PIX_FMT_YUYV422.

Patch by Jai Menon

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18316 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoReindent
reimar [Thu, 2 Apr 2009 11:27:14 +0000 (11:27 +0000)]
Reindent

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18315 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSupport DVD subtitles in mov/mp4 as created by Nero.
reimar [Thu, 2 Apr 2009 11:26:46 +0000 (11:26 +0000)]
Support DVD subtitles in mov/mp4 as created by Nero.
See also http://samples.mplayerhq.hu/sub/NeroMP4/unsupported-embedded-subs-2.mp4

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18314 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRegister VA API HW accelerators.
gb [Thu, 2 Apr 2009 08:53:34 +0000 (08:53 +0000)]
Register VA API HW accelerators.

Pending bits from earlier approved patches:
https://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-March/066111.html
https://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-April/066918.html

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18313 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b