9 years agoconfigure: fix symver detection with icc 10 v0.6
Reinhard Tartler [Tue, 15 Jun 2010 19:44:30 +0000 (19:44 +0000)]
configure: fix symver detection with icc 10

Apparently the compiler sometimes bypasses the normal assembler, in
which case the asm label variant works.  If the file contains any
inline asm, this bypassing is not done, and the assembler chokes on
invalid syntax.  Inserting a dummy asm() statement in the test when
the compiler supports it makes sure no shortcuts are taken and the
test fails as it should.

backport r23616 by mru

Originally committed as revision 23618 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoFix symbol version compat wrappers on systems with export prefixes
Reinhard Tartler [Tue, 15 Jun 2010 19:44:09 +0000 (19:44 +0000)]
Fix symbol version compat wrappers on systems with export prefixes

backport r23615 by mru

Originally committed as revision 23617 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoAdd compatibility wrappers for functions moved from lavf to lavc
Reinhard Tartler [Tue, 15 Jun 2010 13:31:27 +0000 (13:31 +0000)]
Add compatibility wrappers for functions moved from lavf to lavc

When symbol versioning is enabled, moving symbols from one library to
another breaks binary compatibility.  This adds wrappers with the old
version tag for the av_*packet functions recently moved to lavc.

backport r23611 by mru

Originally committed as revision 23613 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agorevert r23610, better patch is pending
Reinhard Tartler [Tue, 15 Jun 2010 13:29:20 +0000 (13:29 +0000)]
revert r23610, better patch is pending

Originally committed as revision 23612 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoadd symver hacks for gnu linkers
Reinhard Tartler [Tue, 15 Jun 2010 12:29:19 +0000 (12:29 +0000)]
add symver hacks for gnu linkers

this patch restores binary compatibility for the av_*_packet symbols that have
been moved from libavformat to libavcodec.  This patch works for gnu toolchains
only; support for ARM RCVT will be handed in for a later point release as soon
as the patch is ready and approved by the ARM maintainer(s).

Originally committed as revision 23610 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoremove redundant changelog entry
Reinhard Tartler [Thu, 10 Jun 2010 08:10:32 +0000 (08:10 +0000)]
remove redundant changelog entry

Originally committed as revision 23560 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agolibrtmp may link to different ssl implementations
Reinhard Tartler [Wed, 9 Jun 2010 15:55:02 +0000 (15:55 +0000)]
librtmp may link to different ssl implementations

Make sure we link using the right libs by using pkg-config

backport r23511 by lu_zero

Originally committed as revision 23550 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoAdd WebM muxer
James Zern [Wed, 9 Jun 2010 15:54:27 +0000 (15:54 +0000)]
Add WebM muxer

Patch by James Zern <jzern at google>

backport r23474 by conrad

Originally committed as revision 23549 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agolibvpx now has an (L)GPL-compatible license.
Reinhard Tartler [Sat, 5 Jun 2010 13:58:13 +0000 (13:58 +0000)]
libvpx now has an (L)GPL-compatible license.

backport r23482 by diego

Originally committed as revision 23487 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoupdate RELEASE notes
Reinhard Tartler [Sat, 5 Jun 2010 08:30:55 +0000 (08:30 +0000)]
update RELEASE notes

VP8 license issues seem to have solved, plus include wording suggestion
from discussion on -cvslog

Originally committed as revision 23483 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoVP8 encoding via libvpx.
James Zern [Thu, 3 Jun 2010 21:36:38 +0000 (21:36 +0000)]
VP8 encoding via libvpx.

Patch by James Zern, Google, Inc.

backport r23449 by cehoyos

Originally committed as revision 23455 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoAdd an entry to APIchanges for the addition of sws_convertPalette8ToPacked32 -24
Reinhard Tartler [Thu, 3 Jun 2010 20:16:42 +0000 (20:16 +0000)]
Add an entry to APIchanges for the addition of sws_convertPalette8ToPacked32 -24

backport r23415 by siretart

Originally committed as revision 23446 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoupdates: introductionary and more general notes, add missing items from changelog
Reinhard Tartler [Wed, 2 Jun 2010 09:25:37 +0000 (09:25 +0000)]
updates: introductionary and more general notes, add missing items from changelog

Originally committed as revision 23420 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agodisable (native) vorbis encoder for the 0.6 branch
Reinhard Tartler [Tue, 1 Jun 2010 20:14:00 +0000 (20:14 +0000)]
disable (native) vorbis encoder for the 0.6 branch

Originally committed as revision 23416 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoffmpeg: offer alternatives for experimental codecs if they exist
Reinhard Tartler [Tue, 1 Jun 2010 06:29:50 +0000 (06:29 +0000)]
ffmpeg: offer alternatives for experimental codecs if they exist

backport r23398 by janne

Originally committed as revision 23400 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoffmpeg: fail if user selected codec is experimental and strict_std_compliance > exper...
Reinhard Tartler [Tue, 1 Jun 2010 06:28:19 +0000 (06:28 +0000)]
ffmpeg: fail if user selected codec is experimental and strict_std_compliance > experimental

backport r23397 by janne

Originally committed as revision 23399 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoAdd a short note about libvpx.
Reinhard Tartler [Mon, 31 May 2010 21:49:53 +0000 (21:49 +0000)]
Add a short note about libvpx.

backport r23394 by diego

Originally committed as revision 23395 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoRequire --enable-nonfree flag for libvpx.
Diego Biurrun [Sun, 30 May 2010 22:25:40 +0000 (22:25 +0000)]
Require --enable-nonfree flag for libvpx.

The license of libvpx is incompatible with the (L)GPL.  As long as this is
the case, the only way to use it is by marking the result as nonfree.

backport r23371 by diego

Originally committed as revision 23390 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoTreat SIPP like xvid, fixed issue1966
Reinhard Tartler [Sat, 29 May 2010 15:07:08 +0000 (15:07 +0000)]
Treat SIPP like xvid, fixed issue1966

backport r23336 by michael

Originally committed as revision 23385 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoSamsung uses SIPP as FourCC for MPEG-4 ASP.
Reinhard Tartler [Sat, 29 May 2010 14:45:13 +0000 (14:45 +0000)]
Samsung uses SIPP as FourCC for MPEG-4 ASP.

backport r23309 by cehoyos

Originally committed as revision 23384 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoffserver: Send a Content-Base header in the reply to RTSP DESCRIBE requests
Reinhard Tartler [Sat, 29 May 2010 14:41:26 +0000 (14:41 +0000)]
ffserver: Send a Content-Base header in the reply to RTSP DESCRIBE requests

This is needed for QuickTime Player to be able to connect properly.

backport r23325 by mstorsjo

Originally committed as revision 23383 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agobackport latest ffserver fixes like memory leaks and invalid reads
Reinhard Tartler [Sat, 29 May 2010 14:40:31 +0000 (14:40 +0000)]
backport latest ffserver fixes like memory leaks and invalid reads

Patches by Howard Chu, hyc at highlandsun dot com

backport r23290-23295 by mstorsjo

Originally committed as revision 23382 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoMark vorbis encoder as experimental.
Reinhard Tartler [Sat, 29 May 2010 14:34:37 +0000 (14:34 +0000)]
Mark vorbis encoder as experimental.

backport r23339 by cehoyos

Originally committed as revision 23381 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoMark AAC encoder as experimental.
Reinhard Tartler [Sat, 29 May 2010 14:33:50 +0000 (14:33 +0000)]
Mark AAC encoder as experimental.

backport r23350 by alexc

Originally committed as revision 23380 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoAdd CODEC_CAP_EXPERIMENTAL and prefer encoders without it.
Janne Grunau [Sat, 29 May 2010 14:33:02 +0000 (14:33 +0000)]
Add CODEC_CAP_EXPERIMENTAL and prefer encoders without it.

Patch by Janne Grunau, janne-ffmpeg jannau net

backport r23334,23337-23338 by cehoyos and stefano

Originally committed as revision 23379 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoCheck for VUI overeading and reset num_reoder_frames.
Reinhard Tartler [Sat, 29 May 2010 14:25:18 +0000 (14:25 +0000)]
Check for VUI overeading and reset num_reoder_frames.
This helps the video from issue1831

backport r23328 by michael

Originally committed as revision 23378 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoapi-example: Try to avoid decoding incomplete frames
Reinhard Tartler [Sat, 29 May 2010 14:20:05 +0000 (14:20 +0000)]
api-example: Try to avoid decoding incomplete frames

Use a larger input audio buffer, refill it when it has less than 4 KB data

backport r23323 by mstorsjo

Originally committed as revision 23377 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agomatroska: Add V_VP8
Google [Sat, 29 May 2010 14:11:03 +0000 (14:11 +0000)]
matroska: Add V_VP8

Patch by Google

backport r23192 by conrad

Originally committed as revision 23376 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoFix VP8 listing in general.texi
Reinhard Tartler [Sat, 29 May 2010 14:05:05 +0000 (14:05 +0000)]
Fix VP8 listing in general.texi

backport r23306 by mstorsjo

Originally committed as revision 23375 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoVP8 decoding via libvpx
James Zern [Sat, 29 May 2010 14:03:03 +0000 (14:03 +0000)]
VP8 decoding via libvpx

Patch by James Zern for Google, Inc., jzern google com

backportd r23191,23303,23307-23308 by conrad, cehoyos and mstorsjo

Originally committed as revision 23374 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoDisplay a more descriptive log message when probe buffer limit is
Reinhard Tartler [Sat, 29 May 2010 13:11:56 +0000 (13:11 +0000)]
Display a more descriptive log message when probe buffer limit is

backport r23288 by jai_menon

Originally committed as revision 23373 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoFix documentation of av_audio_convert.
Cyril Russo [Sat, 29 May 2010 13:11:21 +0000 (13:11 +0000)]
Fix documentation of av_audio_convert.

Patch by Cyril Russo, stage D nexvision A laposte net

backport r23285 by cehoyos

Originally committed as revision 23372 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agomatroskaenc: Write codec time base as default duration for video tracks.
Reinhard Tartler [Fri, 28 May 2010 20:35:13 +0000 (20:35 +0000)]
matroskaenc: Write codec time base as default duration for video tracks.

This isn't exactly semantically equivalent, but the field has already been
long abused to mean this, and writing it helps in determining a decent cfr
time base when transcoding from a mkv where the video codec stores none (VP8).

backport r23284 by conrad

Originally committed as revision 23365 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoReduce the score for the aea demuxer probing function.
Reinhard Tartler [Thu, 27 May 2010 20:48:19 +0000 (20:48 +0000)]
Reduce the score for the aea demuxer probing function.

backport r23273 by banan

Originally committed as revision 23356 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoFix detection of some stereo atrac files by not comparing the
Reinhard Tartler [Thu, 27 May 2010 20:47:48 +0000 (20:47 +0000)]
Fix detection of some stereo atrac files by not comparing the
block size mode and info byte.

backport r23272 by banan

Originally committed as revision 23355 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agowrite 3gp perf tag for artist metadata
Reinhard Tartler [Thu, 27 May 2010 20:47:03 +0000 (20:47 +0000)]
write 3gp perf tag for artist metadata

backport r23268 by bcoudurier

Originally committed as revision 23354 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agochange author metadata to artist in mov de/muxer
Reinhard Tartler [Thu, 27 May 2010 20:40:09 +0000 (20:40 +0000)]
change author metadata to artist in mov de/muxer

backport r23266 by bcoudurier

Originally committed as revision 23353 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoCosmetics : re-indent after last commit.
Reinhard Tartler [Tue, 25 May 2010 20:56:34 +0000 (20:56 +0000)]
Cosmetics : re-indent after last commit.

backport r23265 by jai_menon

Originally committed as revision 23327 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoFFplay : Avoid manipulating NULL data pointers so that future checks
Reinhard Tartler [Tue, 25 May 2010 20:55:57 +0000 (20:55 +0000)]
FFplay : Avoid manipulating NULL data pointers so that future checks
remain valid. This fixes segfaults for those cases where data copy to
this invalid pointer is attempted.

backport r23264 by jai_menon

Originally committed as revision 23326 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoDocument CODEC_FLAG_EMU_EDGE and avcodec_align_dimensions interaction.
Reinhard Tartler [Tue, 25 May 2010 18:34:19 +0000 (18:34 +0000)]
Document CODEC_FLAG_EMU_EDGE and avcodec_align_dimensions interaction.

backport r23258 by reimar

Originally committed as revision 23321 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoUpdate regression tests after removing track timecode scale from mkvenc
Reinhard Tartler [Tue, 25 May 2010 18:33:38 +0000 (18:33 +0000)]
Update regression tests after removing track timecode scale from mkvenc

backport r23248 by conrad

Originally committed as revision 23320 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agomatroskaenc: Don't write track timecode scale
Reinhard Tartler [Tue, 25 May 2010 18:22:30 +0000 (18:22 +0000)]
matroskaenc: Don't write track timecode scale

It's not required for mkv and unsupported in webm

backport r23247 by conrad

Originally committed as revision 23315 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agomatroskadec: Allow unknown EBML doctype
Reinhard Tartler [Tue, 25 May 2010 18:21:59 +0000 (18:21 +0000)]
matroskadec: Allow unknown EBML doctype

backport r23246 by conrad

Originally committed as revision 23314 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agomatroskadec: Support webm doctype
James Zern [Tue, 25 May 2010 18:20:59 +0000 (18:20 +0000)]
matroskadec: Support webm doctype

Patch by James Zern <jzern at google>

backport r23245 by conrad

Originally committed as revision 23313 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoConvert NaN to 0/0 in av_d2q
Diego Biurrun [Mon, 24 May 2010 02:27:43 +0000 (02:27 +0000)]
Convert NaN to 0/0 in av_d2q

This fixes aspect ratio calculation for encoding from files with 0/0 stored,
common with ogg/theora

backport r23280 by conrad

Originally committed as revision 23283 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoEnable AVFMT_GENERIC_INDEX for Ogg demuxer. This avoids the many
Diego Biurrun [Mon, 24 May 2010 02:09:36 +0000 (02:09 +0000)]
Enable AVFMT_GENERIC_INDEX for Ogg demuxer. This avoids the many
seeks needed for binary search when seeking to a previously seen

backport r23279 by reimar

Originally committed as revision 23282 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoIgnore generated files in the libswscale directory.
Diego Biurrun [Mon, 24 May 2010 01:33:39 +0000 (01:33 +0000)]
Ignore generated files in the libswscale directory.

Originally committed as revision 23281 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoMerge last round of Changelog updates for HTML 5 features.
Diego Biurrun [Sun, 23 May 2010 23:28:24 +0000 (23:28 +0000)]
Merge last round of Changelog updates for HTML 5 features.

Originally committed as revision 23278 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoAdd VERSION file for 0.6 release.
Diego Biurrun [Sun, 23 May 2010 22:07:22 +0000 (22:07 +0000)]
Add VERSION file for 0.6 release.

Originally committed as revision 23274 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agosmall spelling fixes
Diego Biurrun [Sun, 23 May 2010 21:30:21 +0000 (21:30 +0000)]
small spelling fixes

Originally committed as revision 23271 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoIn ogg muxer, pack multiple frames into one page, much lower overhead
Reinhard Tartler [Sun, 23 May 2010 19:12:27 +0000 (19:12 +0000)]
In ogg muxer, pack multiple frames into one page, much lower overhead

backport r23231 by bcoudurier

Originally committed as revision 23263 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoOpen 2-pass logfile in binary mode for both reading and writing.
Reinhard Tartler [Sun, 23 May 2010 18:50:15 +0000 (18:50 +0000)]
Open 2-pass logfile in binary mode for both reading and writing.
This fixes a regression on Windows introduced by r22769 in which the data read
from the file was not properly zero terminated. The file was read as text,
which caused the \r characters to be suppressed. Since the zero termination
happens at the end of the buffer, and there was one byte less read per line,
this caused the remaining space on the buffer to contain random data.

backport r23251 by ramiro

Originally committed as revision 23261 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoMention RTP hinting in the 0.6 release notes
Martin Storsjö [Fri, 21 May 2010 21:50:07 +0000 (21:50 +0000)]
Mention RTP hinting in the 0.6 release notes

Originally committed as revision 23242 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoAdd an APIchanges note regarding the new rtp hinting flag
Martin Storsjö [Fri, 21 May 2010 21:49:28 +0000 (21:49 +0000)]
Add an APIchanges note regarding the new rtp hinting flag

backport r23180 by mstorsjo

Originally committed as revision 23241 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoLate bump of the minor version, for the addition of AVFMT_FLAG_RTP_HINT
Martin Storsjö [Fri, 21 May 2010 21:48:17 +0000 (21:48 +0000)]
Late bump of the minor version, for the addition of AVFMT_FLAG_RTP_HINT

backport r23179 by mstorsjo

Originally committed as revision 23240 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoAdd a changelog entry for the RTP hinting in the mov muxer
Martin Storsjö [Fri, 21 May 2010 21:47:48 +0000 (21:47 +0000)]
Add a changelog entry for the RTP hinting in the mov muxer

backport r23178 by mstorsjo

Originally committed as revision 23239 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoUse a heuristic for describing the RTP packets using sample data
Martin Storsjö [Fri, 21 May 2010 21:46:52 +0000 (21:46 +0000)]
Use a heuristic for describing the RTP packets using sample data

backport r23165 by mstorsjo

Originally committed as revision 23238 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoAdd initial support for RTP hinting in the mov muxer
Martin Storsjö [Fri, 21 May 2010 21:46:23 +0000 (21:46 +0000)]
Add initial support for RTP hinting in the mov muxer

backport r23164 by mstorsjo

Originally committed as revision 23237 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoMake mov_write_packet non-static, add ff_ prefix
Martin Storsjö [Fri, 21 May 2010 21:45:54 +0000 (21:45 +0000)]
Make mov_write_packet non-static, add ff_ prefix

backport r23163 by mstorsjo

Originally committed as revision 23236 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoMove the mov muxer structures to a separate header
Martin Storsjö [Fri, 21 May 2010 21:45:21 +0000 (21:45 +0000)]
Move the mov muxer structures to a separate header

backport r23162 by mstorsjo

Originally committed as revision 23235 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoAdd a flag for enabling RTP hinting
Martin Storsjö [Fri, 21 May 2010 21:44:43 +0000 (21:44 +0000)]
Add a flag for enabling RTP hinting

backport r23161 by mstorsjo

Originally committed as revision 23234 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoMake ff_sdp_write_media a lavf-internal function
Martin Storsjö [Fri, 21 May 2010 21:43:40 +0000 (21:43 +0000)]
Make ff_sdp_write_media a lavf-internal function

This is in preparation for RTP hinting in the MOV muxer, where
it needs to be able to create SDP fragments for each media stream.

backport r23160 by mstorsjo

Originally committed as revision 23233 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoDisable non interleaved avi code when there is no index available.
Reinhard Tartler [Fri, 21 May 2010 20:24:08 +0000 (20:24 +0000)]
Disable non interleaved avi code when there is no index available.
Fixes issue1956.

backport r23202 by michael

Originally committed as revision 23230 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoMake aac_decode_frame() consume zero padding at the end of a packet.
Reinhard Tartler [Fri, 21 May 2010 20:23:22 +0000 (20:23 +0000)]
Make aac_decode_frame() consume zero padding at the end of a packet.

backport r23195 by alexc

Originally committed as revision 23229 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoFix a crash when opening WMS RTSP streams
Reinhard Tartler [Fri, 21 May 2010 20:22:18 +0000 (20:22 +0000)]
Fix a crash when opening WMS RTSP streams
Fixes issue 1948

backport r23181 by mstorsjo

Originally committed as revision 23228 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoFix signedness of q_delta field of the IVIMbInfo.
Maxim Poliakovski [Fri, 21 May 2010 20:20:01 +0000 (20:20 +0000)]
Fix signedness of q_delta field of the IVIMbInfo.
Patch by Maxim max_pole () gmx * de

backport r23170 by benoit

Originally committed as revision 23227 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoIn ts demuxer, output pes packet as soon as they are complete.
Janne Grunau [Fri, 21 May 2010 20:15:53 +0000 (20:15 +0000)]
In ts demuxer, output pes packet as soon as they are complete.
This is needed for subtitles where packets are infrequent.
Patch by Janne Grunau, janne-ffmpeg at jannau dot net.

backport r23157 by bcoudurier

Originally committed as revision 23226 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoset avg frame rate in mkv demuxer
Reinhard Tartler [Fri, 21 May 2010 20:13:34 +0000 (20:13 +0000)]
set avg frame rate in mkv demuxer

backport r23152 by bcoudurier

Originally committed as revision 23225 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoffserver: Make sure a destination URL is set when creating the SDP
Reinhard Tartler [Fri, 21 May 2010 18:49:32 +0000 (18:49 +0000)]
ffserver: Make sure a destination URL is set when creating the SDP

Debugged by Howard Chu, hyc at highlandsun dot com.

backport r23151 by mstorsjo

Originally committed as revision 23224 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoClarify description for the MONOWHITE and MONOBLACK pixel formats.
Reinhard Tartler [Fri, 21 May 2010 18:47:19 +0000 (18:47 +0000)]
Clarify description for the MONOWHITE and MONOBLACK pixel formats.

backport r23144 by stefano

Originally committed as revision 23223 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoClarify descriptions for RGB4, BGR4, NV12, NV21,
Reinhard Tartler [Fri, 21 May 2010 18:46:59 +0000 (18:46 +0000)]
Clarify descriptions for RGB4, BGR4, NV12, NV21,
RGB48BE, and RGB48LE pixel formats.

backport r23142 by stefano

Originally committed as revision 23222 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoChange MAX_READ_SIZE message during av_find_stream_info to DEBUG level.
Reinhard Tartler [Fri, 21 May 2010 18:46:03 +0000 (18:46 +0000)]
Change MAX_READ_SIZE message during av_find_stream_info to DEBUG level.
It is not harmful and it scares too many users.

backport r23139 by bcoudurier

Originally committed as revision 23221 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoFix compilation of AC3 decoder if E-AC3 decoder was disabled.
Reinhard Tartler [Fri, 21 May 2010 18:38:39 +0000 (18:38 +0000)]
Fix compilation of AC3 decoder if E-AC3 decoder was disabled.

backport r23131 by cehoyos

Originally committed as revision 23220 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoMake lsf_sf_expand() 4 times faster.
Reinhard Tartler [Fri, 21 May 2010 18:32:58 +0000 (18:32 +0000)]
Make lsf_sf_expand() 4 times faster.

backport r23096 by michael

Originally committed as revision 23219 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoSet cur_channel in the AAC encoder context where needed.
Reinhard Tartler [Fri, 21 May 2010 18:27:16 +0000 (18:27 +0000)]
Set cur_channel in the AAC encoder context where needed.

Most coder functions read it. Carting this around in the context may be
suboptimal; a refactor should be considered.

backport r23094 by alexc

Originally committed as revision 23218 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoAdd -ldl to libfaadbin_extralibs instead of libfaadbin_decoder_extralibs.
Janne Grunau [Fri, 21 May 2010 18:25:46 +0000 (18:25 +0000)]
Add -ldl to libfaadbin_extralibs instead of libfaadbin_decoder_extralibs.
The latter does not exist and thus compilation fails.
patch by Janne Grunau, janne-ffmpeg jannau.net

backport r23087 by diego

Originally committed as revision 23217 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agomlpdec: Comment channel_params field in struct SubStream.
Nick Brereton [Fri, 21 May 2010 18:22:49 +0000 (18:22 +0000)]
mlpdec: Comment channel_params field in struct SubStream.
Patch by Nick Brereton <nick at nbrereton dot net>

backport r23085 by ramiro

Originally committed as revision 23216 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agomlpdec: Allocate channel decoding parameters for each substream. Some file
Nick Brereton [Fri, 21 May 2010 18:22:32 +0000 (18:22 +0000)]
mlpdec: Allocate channel decoding parameters for each substream. Some file
was encountered with a channel range that overlapped the previous substreams,
and the code assumed no such overlap was possible.
Patch by Nick Brereton <nick at nbrereton dot net>

backport r23084 by ramiro

Originally committed as revision 23215 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoAdding missing () to mathops.h.
Reinhard Tartler [Fri, 21 May 2010 18:19:49 +0000 (18:19 +0000)]
Adding missing () to mathops.h.

backport r23083 by michael

Originally committed as revision 23214 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoReplace more "m" constraints with MANGLE to fix compilation issues
Reinhard Tartler [Fri, 21 May 2010 18:19:13 +0000 (18:19 +0000)]
Replace more "m" constraints with MANGLE to fix compilation issues
with x86_32 gcc 4.4.4 and -fPIC.

backport r23082 by reimar

Originally committed as revision 23213 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoblackfin: fix yuv422 to yuv420 conversion
Ronaldo Moura [Fri, 21 May 2010 18:05:38 +0000 (18:05 +0000)]
blackfin: fix yuv422 to yuv420 conversion

The old code is correct only when stride = 2*width.

Patch by Ronaldo Moura <ronaldo d moura monity com br>

backport r31142 by mru

Originally committed as revision 23212 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoCheck NAL unit size to avoid reading past the buffer.
Thomas Devanneaux [Fri, 21 May 2010 18:03:57 +0000 (18:03 +0000)]
Check NAL unit size to avoid reading past the buffer.
This fixes issue1907

Patch by Thomas Devanneaux gmail(thomdev)

backport r23078 by benoit

Originally committed as revision 23211 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoMake the nut demuxer issue a more meaningful error message if it
Reinhard Tartler [Thu, 20 May 2010 22:46:11 +0000 (22:46 +0000)]
Make the nut demuxer issue a more meaningful error message if it
cannot recognize the provided codec tag.

backport r23071 by stefano

Originally committed as revision 23205 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agobswap: 10L add missing parens around macro args
Reinhard Tartler [Thu, 20 May 2010 22:45:00 +0000 (22:45 +0000)]
bswap: 10L add missing parens around macro args

backport r23070 by mru

Originally committed as revision 23204 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoqt-faststart: Avoid leaking memory if encountering a file with double ftyp atoms
Reinhard Tartler [Wed, 19 May 2010 13:51:54 +0000 (13:51 +0000)]
qt-faststart: Avoid leaking memory if encountering a file with double ftyp atoms

backport r23065 by mstorsjo

Originally committed as revision 23190 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoFix build with swscale disabled
Reinhard Tartler [Wed, 19 May 2010 13:43:34 +0000 (13:43 +0000)]
Fix build with swscale disabled

backport r23062 by mru

Originally committed as revision 23189 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoRemove hardcoded-tables hack for IA-64: with latest binutils that now actually
Reinhard Tartler [Wed, 19 May 2010 13:30:30 +0000 (13:30 +0000)]
Remove hardcoded-tables hack for IA-64: with latest binutils that now actually
causes linking errors instead of avoiding them.

backport r23058 by reimar

Originally committed as revision 23188 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoAnother try for fixing/improving decode_video documentation.
Reinhard Tartler [Wed, 19 May 2010 13:29:36 +0000 (13:29 +0000)]
Another try for fixing/improving decode_video documentation.

backport r23057 by reimar

Originally committed as revision 23187 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoDocument cmdutils.c:print_error().
Reinhard Tartler [Wed, 19 May 2010 11:46:39 +0000 (11:46 +0000)]
Document cmdutils.c:print_error().

backport r23051 by stefano

Originally committed as revision 23186 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoFavor chunk size over hitting the correct position after reading the chunk size in...
Reinhard Tartler [Wed, 19 May 2010 11:44:45 +0000 (11:44 +0000)]
Favor chunk size over hitting the correct position after reading the chunk size in asf.
Fixes issue1923

backport r23040 by michael

Originally committed as revision 23185 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years ago10l: store the result of clipping added in r23035
Reinhard Tartler [Wed, 19 May 2010 11:39:02 +0000 (11:39 +0000)]
10l: store the result of clipping added in r23035

backport r23037 by alexc

Originally committed as revision 23184 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoError out when too many bits per frame are requested.
Reinhard Tartler [Wed, 19 May 2010 11:38:30 +0000 (11:38 +0000)]
Error out when too many bits per frame are requested.

backport r23036 by alexc

Originally committed as revision 23183 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoMake the faac inspired quantizer search make sense for a slightly narrower definition...
Reinhard Tartler [Wed, 19 May 2010 11:38:07 +0000 (11:38 +0000)]
Make the faac inspired quantizer search make sense for a slightly narrower definition of "make sense."

backport r23035 by alexc

Originally committed as revision 23182 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoReindent after the last commit.
Reinhard Tartler [Wed, 19 May 2010 08:04:41 +0000 (08:04 +0000)]
Reindent after the last commit.

backport r23034 by stefano

Originally committed as revision 23177 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoSimplify print_error(), directly use av_strerror()/strerror() for
Reinhard Tartler [Wed, 19 May 2010 08:04:25 +0000 (08:04 +0000)]
Simplify print_error(), directly use av_strerror()/strerror() for
printing the error code associated to FF_NETERROR(EPROTONOSUPPORT).

backport r23033 by stefano

Originally committed as revision 23176 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoMake print_error() use strerror() in case av_strerror() fails.
Reinhard Tartler [Wed, 19 May 2010 08:03:50 +0000 (08:03 +0000)]
Make print_error() use strerror() in case av_strerror() fails.

Should provide a meaningful error message for systems which do not
support strerror_r().

Fix roundup issue #1894.

backport r23032 by stefano

Originally committed as revision 23175 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agoMake av_strerror() return -1 even in the case when av_strerror_r() is
Reinhard Tartler [Wed, 19 May 2010 08:03:22 +0000 (08:03 +0000)]
Make av_strerror() return -1 even in the case when av_strerror_r() is
not defined.

This allows applications to check if av_strerror() cannot provide a
meaningful representation for the provided error code, without having
to actually check the filled string.

backport r23031 by stefano

Originally committed as revision 23174 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agomovenc: Write QuickTime chapters
Reinhard Tartler [Wed, 19 May 2010 08:02:33 +0000 (08:02 +0000)]
movenc: Write QuickTime chapters

backport r23022 by conrad

Originally committed as revision 23173 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agomovenc: Swap positions of mov_write_header and mov_write_packet
Reinhard Tartler [Wed, 19 May 2010 08:02:05 +0000 (08:02 +0000)]
movenc: Swap positions of mov_write_header and mov_write_packet

backport r23021 by conrad

Originally committed as revision 23172 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

9 years agomov: Read nero chapters
Reinhard Tartler [Wed, 19 May 2010 07:58:17 +0000 (07:58 +0000)]
mov: Read nero chapters

backport r23020 by conrad

Originally committed as revision 23171 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6