ffmpeg.git
9 years agoCosmetics: whitespace
Alex Converse [Fri, 28 May 2010 20:45:35 +0000 (20:45 +0000)]
Cosmetics: whitespace

Originally committed as revision 23367 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoaacenc: Remove unnecessary variables and scopes in the TLS.
Alex Converse [Fri, 28 May 2010 20:42:01 +0000 (20:42 +0000)]
aacenc: Remove unnecessary variables and scopes in the TLS.

Originally committed as revision 23366 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoCleanup prev commit, flag variable should start with 0
Howard Chu [Fri, 28 May 2010 20:14:14 +0000 (20:14 +0000)]
Cleanup prev commit, flag variable should start with 0

Originally committed as revision 23364 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoParse avctx->extradata if available.
Howard Chu [Fri, 28 May 2010 18:50:39 +0000 (18:50 +0000)]
Parse avctx->extradata if available.
Fixes many "non-existing PPS referenced" error messages

Originally committed as revision 23363 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoReindent after r23361.
Francesco Lavra [Fri, 28 May 2010 18:21:57 +0000 (18:21 +0000)]
Reindent after r23361.

Patch by Francesco Lavra <francescolavra interfree it>.

Originally committed as revision 23362 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoUse ff_rm_codec_tags[] in RM muxer. This, incidentally, also allows muxing
Francesco Lavra [Fri, 28 May 2010 18:21:25 +0000 (18:21 +0000)]
Use ff_rm_codec_tags[] in RM muxer. This, incidentally, also allows muxing
other audio codecs rather than only AC-3, so add some code that makes
word byte-swapping only happen for AC-3, not for all audio codecs.

Patch by Francesco Lavra <francescolavra interfree it>.

Originally committed as revision 23361 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoMove rm_codec_tags to rm.c so muxer/demuxer can share it.
Francesco Lavra [Fri, 28 May 2010 18:18:33 +0000 (18:18 +0000)]
Move rm_codec_tags to rm.c so muxer/demuxer can share it.

Patch by Francesco Lavra <francescolavra interfree it>.

Originally committed as revision 23360 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agovp3: 10l Fix DC-only IDCT for C and ARM too
David Conrad [Fri, 28 May 2010 07:22:04 +0000 (07:22 +0000)]
vp3: 10l Fix DC-only IDCT for C and ARM too

Originally committed as revision 23359 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agovp3: The DC-only IDCT is surprisingly not supposed to be bitexact to the
David Conrad [Fri, 28 May 2010 07:01:34 +0000 (07:01 +0000)]
vp3: The DC-only IDCT is surprisingly not supposed to be bitexact to the
full IDCT. Fix this.

Originally committed as revision 23358 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoOn2 IVF demuxer
David Conrad [Thu, 27 May 2010 21:23:04 +0000 (21:23 +0000)]
On2 IVF demuxer

Originally committed as revision 23357 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoMake sure that when the parser is feeded with frame==packet that the
Michael Niedermayer [Thu, 27 May 2010 17:11:37 +0000 (17:11 +0000)]
Make sure that when the parser is feeded with frame==packet that the
packets are passed through and wont be marked as static which would
require them to be copied by av_dup_packet().

Originally committed as revision 23352 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoaacdec: Clarify a channel mapping comment.
Cyril Russo [Thu, 27 May 2010 14:50:19 +0000 (14:50 +0000)]
aacdec: Clarify a channel mapping comment.

Patch by Cyril Russo >stage nexvision laposte net<

Originally committed as revision 23351 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoMark AAC encoder as experimental.
Alex Converse [Thu, 27 May 2010 14:46:31 +0000 (14:46 +0000)]
Mark AAC encoder as experimental.

Originally committed as revision 23350 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoVP8 parser
David Conrad [Thu, 27 May 2010 04:39:31 +0000 (04:39 +0000)]
VP8 parser

Originally committed as revision 23349 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoAdd const to ff_emulated_edge_mc
David Conrad [Thu, 27 May 2010 04:39:27 +0000 (04:39 +0000)]
Add const to ff_emulated_edge_mc

Originally committed as revision 23348 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoAdd more const to _l4 pixel functions
David Conrad [Thu, 27 May 2010 04:39:23 +0000 (04:39 +0000)]
Add more const to _l4 pixel functions

Originally committed as revision 23347 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agovp3: Skip the loop filter when strength is 0 or when requested
David Conrad [Thu, 27 May 2010 04:39:12 +0000 (04:39 +0000)]
vp3: Skip the loop filter when strength is 0 or when requested

Originally committed as revision 23346 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoCosmetics : Fix typo.
Jai Menon [Thu, 27 May 2010 04:25:50 +0000 (04:25 +0000)]
Cosmetics : Fix typo.

Originally committed as revision 23345 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoSome fields were incorrectly reset (to NULL) when calling avcodec_copy_context().
Jean-Daniel Dupas [Thu, 27 May 2010 01:29:09 +0000 (01:29 +0000)]
Some fields were incorrectly reset (to NULL) when calling avcodec_copy_context().

Patch by Jean-Daniel Dupas, devlists shadowlab org

Originally committed as revision 23344 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoFix pts reordering code.
Michael Niedermayer [Thu, 27 May 2010 00:31:45 +0000 (00:31 +0000)]
Fix pts reordering code.
This fixes a regression introduced when libavfilter support was added to ffplay.

Originally committed as revision 23343 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoAdd support for the newly added Nut codec tags (added in Nut r669):
Stefano Sabatini [Wed, 26 May 2010 22:26:19 +0000 (22:26 +0000)]
Add support for the newly added Nut codec tags (added in Nut r669):
Y1[00][16], [16][00]1Y, Y3[11][16], [16][11]3Y, Y3[10][16],
[16][10]3Y, Y3[00][16], [16][00]3Y, Y4[11][ 8], Y2[00][ 8].

Originally committed as revision 23342 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoAdd the forgotten ff_ prefix to the shareable scan patterns.
Maxim Poliakovski [Wed, 26 May 2010 20:22:29 +0000 (20:22 +0000)]
Add the forgotten ff_ prefix to the shareable scan patterns.

Originally committed as revision 23341 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoFactorize ff_h264_decode_extradata().
Howard Chu [Wed, 26 May 2010 19:00:59 +0000 (19:00 +0000)]
Factorize ff_h264_decode_extradata().

Patch by Howard Chu, hyc highlandsun com

Originally committed as revision 23340 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoMark vorbis encoder as experimental.
Carl Eugen Hoyos [Wed, 26 May 2010 18:54:59 +0000 (18:54 +0000)]
Mark vorbis encoder as experimental.

Originally committed as revision 23339 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoBump minor version bump and add an APIchanges entry after addition of
Stefano Sabatini [Wed, 26 May 2010 18:45:13 +0000 (18:45 +0000)]
Bump minor version bump and add an APIchanges entry after addition of
CODEC_CAP_EXPERIMENTAL.

Originally committed as revision 23338 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoBump minor version and add Changelog entry after r23334.
Carl Eugen Hoyos [Wed, 26 May 2010 18:34:48 +0000 (18:34 +0000)]
Bump minor version and add Changelog entry after r23334.

Originally committed as revision 23337 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoTreat SIPP like xvid, fixed issue1966
Michael Niedermayer [Wed, 26 May 2010 17:23:36 +0000 (17:23 +0000)]
Treat SIPP like xvid, fixed issue1966

Originally committed as revision 23336 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agomove indeo5 scan patterns into ivi_common.c
Maxim Poliakovski [Wed, 26 May 2010 13:25:16 +0000 (13:25 +0000)]
move indeo5 scan patterns into ivi_common.c
so those can be shared by indeo4.

Originally committed as revision 23335 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoAdd CODEC_CAP_EXPERIMENTAL and prefer encoders without it.
Janne Grunau [Wed, 26 May 2010 10:38:48 +0000 (10:38 +0000)]
Add CODEC_CAP_EXPERIMENTAL and prefer encoders without it.

Patch by Janne Grunau, janne-ffmpeg jannau net

Originally committed as revision 23334 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoParse and repack the first frame of H.264 in ASF because SPS+PPS lives in its own...
Alex Converse [Wed, 26 May 2010 04:22:52 +0000 (04:22 +0000)]
Parse and repack the first frame of H.264 in ASF because SPS+PPS lives in its own packet.

Originally committed as revision 23333 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoAdd an AVSTREAM_PARSE_FULL_ONCE parsing mode to parse headers and combine packets...
Alex Converse [Wed, 26 May 2010 04:20:32 +0000 (04:20 +0000)]
Add an AVSTREAM_PARSE_FULL_ONCE parsing mode to parse headers and combine packets once and only once.

Originally committed as revision 23332 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoFix declaration after statement
Alex Converse [Tue, 25 May 2010 23:25:29 +0000 (23:25 +0000)]
Fix declaration after statement

Originally committed as revision 23331 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agomatroskadec: avoid potential crash after r23169
Aurelien Jacobs [Tue, 25 May 2010 22:55:12 +0000 (22:55 +0000)]
matroskadec: avoid potential crash after r23169

Originally committed as revision 23330 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoDo not invert samples when encoding Vorbis.
Frank Barchard [Tue, 25 May 2010 22:53:22 +0000 (22:53 +0000)]
Do not invert samples when encoding Vorbis.

Patch by Frank Barchard, fbarchard google

Originally committed as revision 23329 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoCheck for VUI overeading and reset num_reoder_frames.
Michael Niedermayer [Tue, 25 May 2010 21:51:27 +0000 (21:51 +0000)]
Check for VUI overeading and reset num_reoder_frames.
This helps the video from issue1831

Originally committed as revision 23328 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoffserver: Send a Content-Base header in the reply to RTSP DESCRIBE requests
Martin Storsjö [Tue, 25 May 2010 19:23:18 +0000 (19:23 +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.

Originally committed as revision 23325 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoCosmetics: reindent after the previous commit
Martin Storsjö [Tue, 25 May 2010 19:16:15 +0000 (19:16 +0000)]
Cosmetics: reindent after the previous commit

Originally committed as revision 23324 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoapi-example: Try to avoid decoding incomplete frames
Martin Storsjö [Tue, 25 May 2010 19:13:28 +0000 (19:13 +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
left.

Originally committed as revision 23323 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoaacenc: Split find_max_val() from find_min_book() to eliminate duplicate searches.
Alex Converse [Tue, 25 May 2010 18:35:01 +0000 (18:35 +0000)]
aacenc: Split find_max_val() from find_min_book() to eliminate duplicate searches.

Originally committed as revision 23322 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoRemove useless costly inf checks from the trellis scalefactor search.
Alex Converse [Tue, 25 May 2010 18:32:59 +0000 (18:32 +0000)]
Remove useless costly inf checks from the trellis scalefactor search.

Originally committed as revision 23319 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoaacenc: Trellis over scalefactors using an estimated codebook rather than every codebook.
Alex Converse [Tue, 25 May 2010 18:31:55 +0000 (18:31 +0000)]
aacenc: Trellis over scalefactors using an estimated codebook rather than every codebook.

The minimal codebook to encode the band without clipping is used (as is done in the TLS).

Originally committed as revision 23318 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoaacenc: Only trellis over a column of 61 scalefactors (reduced from 256).
Alex Converse [Tue, 25 May 2010 18:28:18 +0000 (18:28 +0000)]
aacenc: Only trellis over a column of 61 scalefactors (reduced from 256).

This still provides plenty of dynamic range, makes every move legal, and greatly reduces the search space.

Originally committed as revision 23317 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoaacenc: Factor out find_min_book so it can be used by multiple coefficient coders.
Alex Converse [Tue, 25 May 2010 18:24:16 +0000 (18:24 +0000)]
aacenc: Factor out find_min_book so it can be used by multiple coefficient coders.

Originally committed as revision 23316 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoWe're using generic tag-to-ID functions, so specific codec_id assignments
Zhou Zongyi [Tue, 25 May 2010 15:39:32 +0000 (15:39 +0000)]
We're using generic tag-to-ID functions, so specific codec_id assignments
are no longer necessary. Patch by Zhou Zongyi <zhouzy AT os pku edu cn>.

Originally committed as revision 23312 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoCorrect golomb vlc decoding tables.
Michael Niedermayer [Tue, 25 May 2010 14:23:48 +0000 (14:23 +0000)]
Correct golomb vlc decoding tables.
Fixes issue 1930

Originally committed as revision 23311 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agommst_protocol depends on network
Måns Rullgård [Tue, 25 May 2010 13:02:44 +0000 (13:02 +0000)]
mmst_protocol depends on network

Originally committed as revision 23310 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoSamsung uses SIPP as FourCC for MPEG-4 ASP.
Carl Eugen Hoyos [Tue, 25 May 2010 10:35:50 +0000 (10:35 +0000)]
Samsung uses SIPP as FourCC for MPEG-4 ASP.

Originally committed as revision 23309 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoLook for libvpx headers in the vpx subdirectory in configure, too
Martin Storsjö [Tue, 25 May 2010 09:21:59 +0000 (09:21 +0000)]
Look for libvpx headers in the vpx subdirectory in configure, too

Originally committed as revision 23308 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoHeaders for libvpx are installed into vpx subdirectory.
Carl Eugen Hoyos [Tue, 25 May 2010 08:58:14 +0000 (08:58 +0000)]
Headers for libvpx are installed into vpx subdirectory.

Originally committed as revision 23307 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoFix VP8 listing in general.texi
Martin Storsjö [Tue, 25 May 2010 07:26:21 +0000 (07:26 +0000)]
Fix VP8 listing in general.texi

Originally committed as revision 23306 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years ago24l trocadero: RTMP reader forgot to shift high byte of timestamp to its
trueice@gmail.com [Tue, 25 May 2010 07:01:04 +0000 (07:01 +0000)]
24l trocadero: RTMP reader forgot to shift high byte of timestamp to its
proper position

Patch by trueice (his gmail account is obvious)

Originally committed as revision 23305 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agotheora: Don't read an excess bit for maximum length long bit runs if the run
David Conrad [Tue, 25 May 2010 03:19:54 +0000 (03:19 +0000)]
theora: Don't read an excess bit for maximum length long bit runs if the run
exactly ends the remaining blocks.

Originally committed as revision 23304 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoVP8 decoding via libvpx.
James Zern [Tue, 25 May 2010 01:19:08 +0000 (01:19 +0000)]
VP8 decoding via libvpx.

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

Originally committed as revision 23303 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoIn ogg muxer, use random serial number of each ogg streams
Baptiste Coudurier [Mon, 24 May 2010 23:37:33 +0000 (23:37 +0000)]
In ogg muxer, use random serial number of each ogg streams

Originally committed as revision 23302 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoMMS-over-TCP protocol support. Patch by Zhentan Feng <spyfeng gmail com>.
Zhentan Feng [Mon, 24 May 2010 21:59:32 +0000 (21:59 +0000)]
MMS-over-TCP protocol support. Patch by Zhentan Feng <spyfeng gmail com>.

Originally committed as revision 23301 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoAdd libavfilter 1-input - 1-output regression test, corresponding to the
Stefano Sabatini [Mon, 24 May 2010 20:38:50 +0000 (20:38 +0000)]
Add libavfilter 1-input - 1-output regression test, corresponding to the
target regtest-lavfi_pix_fmts.

The lavfi_pix_fmts test is disabled, this because there are
many tests which are failing, and there are still some output files
which cannot be played by NUT/ffplay.

Originally committed as revision 23297 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoAdd missing codec id <-> codec tag entries:
Stefano Sabatini [Mon, 24 May 2010 20:35:01 +0000 (20:35 +0000)]
Add missing codec id <-> codec tag entries:
CODEC_ID_RAWVIDEO <->  Y41B
CODEC_ID_RAWVIDEO <->  Y42B
CODEC_ID_RAWVIDEO <->  YUV9
CODEC_ID_RAWVIDEO <->  YVU9

These codec tags are listed in fourcc.org, and are already listed in
libavcodec/raw.c:ff_raw_pix_fmt_tags as AVI tags.

Originally committed as revision 23296 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoffserver: Fix one of the codec parameter checks
Martin Storsjö [Mon, 24 May 2010 20:24:39 +0000 (20:24 +0000)]
ffserver: Fix one of the codec parameter checks

This is probably what was originally intended; the codec pointers are all NULL.

Fix by Howard Chu, hyc at highlandsun dot com

Originally committed as revision 23295 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoffserver: Fix streaming with more than one stream
Martin Storsjö [Mon, 24 May 2010 20:08:02 +0000 (20:08 +0000)]
ffserver: Fix streaming with more than one stream

Fix by Howard Chu, hyc at highlandsun dot com

Originally committed as revision 23294 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoffserver: Fix extradata handling
Howard Chu [Mon, 24 May 2010 19:59:18 +0000 (19:59 +0000)]
ffserver: Fix extradata handling

Patch by Howard Chu, hyc at highlandsun dot com

Originally committed as revision 23293 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoffserver: Fix an out of bounds read
Martin Storsjö [Mon, 24 May 2010 19:23:31 +0000 (19:23 +0000)]
ffserver: Fix an out of bounds read

Fix by Howard Chu, hyc at highlandsun dot com

Originally committed as revision 23292 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoffserver: Fix another memory leak
Martin Storsjö [Mon, 24 May 2010 19:12:00 +0000 (19:12 +0000)]
ffserver: Fix another memory leak

Don't allocate st->codec, it will be overwritten by the memcpy a few
lines further down.

Fix by Howard Chu, hyc at highlandsun dot com

Originally committed as revision 23291 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoffserver: Plug some memory leaks
Howard Chu [Mon, 24 May 2010 19:05:22 +0000 (19:05 +0000)]
ffserver: Plug some memory leaks

Patch by Howard Chu, hyc at highlandsun dot com

Originally committed as revision 23290 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoAdd -f framemd5 muxer similar to framecrc.
Reimar Döffinger [Mon, 24 May 2010 17:49:26 +0000 (17:49 +0000)]
Add -f framemd5 muxer similar to framecrc.

Originally committed as revision 23289 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoDisplay a more descriptive log message when probe buffer limit is
Jai Menon [Mon, 24 May 2010 16:42:16 +0000 (16:42 +0000)]
Display a more descriptive log message when probe buffer limit is
reached.

Originally committed as revision 23288 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoFFplay : Implement custom reget_buffer for the input filter.
Jai Menon [Mon, 24 May 2010 14:19:44 +0000 (14:19 +0000)]
FFplay : Implement custom reget_buffer for the input filter.

Originally committed as revision 23287 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoSkip pes payload during probing to avoid start code emulation.
Janne Grunau [Mon, 24 May 2010 12:32:13 +0000 (12:32 +0000)]
Skip pes payload during probing to avoid start code emulation.

Patch by Janne Grunau, janne-ffmpeg jannau net

Originally committed as revision 23286 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoFix documentation of av_audio_convert.
Cyril Russo [Mon, 24 May 2010 10:11:21 +0000 (10:11 +0000)]
Fix documentation of av_audio_convert.

Patch by Cyril Russo, stage D nexvision A laposte net

Originally committed as revision 23285 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agomatroskaenc: Write codec time base as default duration for video tracks.
David Conrad [Mon, 24 May 2010 08:58:19 +0000 (08:58 +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).

Originally committed as revision 23284 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoConvert NaN to 0/0 in av_d2q
David Conrad [Mon, 24 May 2010 00:44:02 +0000 (00:44 +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

Originally committed as revision 23280 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoEnable AVFMT_GENERIC_INDEX for Ogg demuxer. This avoids the many
Reimar Döffinger [Sun, 23 May 2010 23:33:38 +0000 (23:33 +0000)]
Enable AVFMT_GENERIC_INDEX for Ogg demuxer. This avoids the many
seeks needed for binary search when seeking to a previously seen
location.

Originally committed as revision 23279 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agosmall wording fix
Diego Biurrun [Sun, 23 May 2010 23:19:37 +0000 (23:19 +0000)]
small wording fix

Originally committed as revision 23277 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoMention some more changes related to HTML 5 issues.
Diego Biurrun [Sun, 23 May 2010 23:17:42 +0000 (23:17 +0000)]
Mention some more changes related to HTML 5 issues.

Originally committed as revision 23276 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agomatroskadec: Revert adding the doctype to metadata; it has no meaning elsewhere
David Conrad [Sun, 23 May 2010 22:20:04 +0000 (22:20 +0000)]
matroskadec: Revert adding the doctype to metadata; it has no meaning elsewhere

Originally committed as revision 23275 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoReduce the score for the aea demuxer probing function.
Benjamin Larsson [Sun, 23 May 2010 22:01:27 +0000 (22:01 +0000)]
Reduce the score for the aea demuxer probing function.

Originally committed as revision 23273 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoFix detection of some stereo atrac files by not comparing the
Benjamin Larsson [Sun, 23 May 2010 21:56:54 +0000 (21:56 +0000)]
Fix detection of some stereo atrac files by not comparing the
block size mode and info byte.

Originally committed as revision 23272 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoReflect the 0.6 branch in the Changelog.
Diego Biurrun [Sun, 23 May 2010 21:19:37 +0000 (21:19 +0000)]
Reflect the 0.6 branch in the Changelog.

Originally committed as revision 23270 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agooups, 100l, revert unrelated hunk from commit r23266
Baptiste Coudurier [Sun, 23 May 2010 21:10:05 +0000 (21:10 +0000)]
oups, 100l, revert unrelated hunk from commit r23266

Originally committed as revision 23269 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agowrite 3gp perf tag for artist metadata
Baptiste Coudurier [Sun, 23 May 2010 21:06:11 +0000 (21:06 +0000)]
write 3gp perf tag for artist metadata

Originally committed as revision 23268 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoalbm 3gp tag has optional track field not date
Baptiste Coudurier [Sun, 23 May 2010 21:04:39 +0000 (21:04 +0000)]
albm 3gp tag has optional track field not date

Originally committed as revision 23267 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agochange author metadata to artist in mov de/muxer
Baptiste Coudurier [Sun, 23 May 2010 21:03:14 +0000 (21:03 +0000)]
change author metadata to artist in mov de/muxer

Originally committed as revision 23266 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoCosmetics : re-indent after last commit.
Jai Menon [Sun, 23 May 2010 19:14:59 +0000 (19:14 +0000)]
Cosmetics : re-indent after last commit.

Originally committed as revision 23265 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoFFplay : Avoid manipulating NULL data pointers so that future checks
Jai Menon [Sun, 23 May 2010 19:13:17 +0000 (19:13 +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.

Originally committed as revision 23264 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoPrefix value for flags with "0x", to make it clear that it is an
Stefano Sabatini [Sun, 23 May 2010 19:11:43 +0000 (19:11 +0000)]
Prefix value for flags with "0x", to make it clear that it is an
hexadecimal value.

Originally committed as revision 23262 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoMake the nut decoder read the ff_nut_video_tags to detect codec id of
Stefano Sabatini [Sun, 23 May 2010 18:34:18 +0000 (18:34 +0000)]
Make the nut decoder read the ff_nut_video_tags to detect codec id of
the input file.

This is required as Nut codec tags are not contained in
ff_codec_bmp_tags.

Originally committed as revision 23260 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoDefine ff_nut_video_tags and make Nut muxer and demuxer set it in
Stefano Sabatini [Sun, 23 May 2010 18:34:15 +0000 (18:34 +0000)]
Define ff_nut_video_tags and make Nut muxer and demuxer set it in
codec_tag.

Originally committed as revision 23259 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoDocument CODEC_FLAG_EMU_EDGE and avcodec_align_dimensions interaction.
Reimar Döffinger [Sun, 23 May 2010 15:34:39 +0000 (15:34 +0000)]
Document CODEC_FLAG_EMU_EDGE and avcodec_align_dimensions interaction.

Originally committed as revision 23258 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoAdd a md5 muxer that allows checking the md5 sums of generated streams without
Reimar Döffinger [Sun, 23 May 2010 13:07:33 +0000 (13:07 +0000)]
Add a md5 muxer that allows checking the md5 sums of generated streams without
needing an external MD5 command.

Originally committed as revision 23257 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoAdd empty newline to separate function declarations, for better
Stefano Sabatini [Sun, 23 May 2010 10:02:30 +0000 (10:02 +0000)]
Add empty newline to separate function declarations, for better
readability.

Originally committed as revision 31192 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9 years agoAdd an entry to APIchanges for the addition of av_get_random_seed
Martin Storsjö [Sun, 23 May 2010 09:47:18 +0000 (09:47 +0000)]
Add an entry to APIchanges for the addition of av_get_random_seed

Originally committed as revision 23256 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoBump libavutil minor version for the addition of av_get_random_seed
Martin Storsjö [Sun, 23 May 2010 09:45:34 +0000 (09:45 +0000)]
Bump libavutil minor version for the addition of av_get_random_seed

Originally committed as revision 23255 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoMake ff_random_get_seed public, rename to av_get_random_seed, export the header
Martin Storsjö [Sun, 23 May 2010 08:53:40 +0000 (08:53 +0000)]
Make ff_random_get_seed public, rename to av_get_random_seed, export the header

Keep an old ff_ named function for binary compatibility until the
next major bump.

Originally committed as revision 23254 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoMake av_write_header() return AVERROR(EINVAL) rather than -1 if the
Stefano Sabatini [Sat, 22 May 2010 21:52:06 +0000 (21:52 +0000)]
Make av_write_header() return AVERROR(EINVAL) rather than -1 if the
input parameters are not valid.

Originally committed as revision 23253 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoStore in a dedicated array the format name - codec id - codec type
Stefano Sabatini [Sat, 22 May 2010 21:52:02 +0000 (21:52 +0000)]
Store in a dedicated array the format name - codec id - codec type
mapping. Simplify.

Originally committed as revision 23252 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoOpen 2-pass logfile in binary mode for both reading and writing.
Ramiro Polla [Sat, 22 May 2010 21:32:57 +0000 (21:32 +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.

Originally committed as revision 23251 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoMove AVCodecTag from riff.h into internal.h.
Francesco Lavra [Sat, 22 May 2010 16:01:32 +0000 (16:01 +0000)]
Move AVCodecTag from riff.h into internal.h.

Patch by Francesco Lavra, francescolavra interfree it

Originally committed as revision 23250 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoPrefer enum CodecID over int in ff_codec_get_tag().
Stefano Sabatini [Sat, 22 May 2010 15:56:49 +0000 (15:56 +0000)]
Prefer enum CodecID over int in ff_codec_get_tag().

Originally committed as revision 23249 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoUpdate regression tests after removing track timecode scale from mkvenc
David Conrad [Sat, 22 May 2010 02:13:01 +0000 (02:13 +0000)]
Update regression tests after removing track timecode scale from mkvenc

Originally committed as revision 23248 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agomatroskaenc: Don't write track timecode scale
David Conrad [Sat, 22 May 2010 01:41:38 +0000 (01:41 +0000)]
matroskaenc: Don't write track timecode scale

It's not required for mkv and unsupported in webm

Originally committed as revision 23247 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agomatroskadec: Allow unknown EBML doctype
David Conrad [Sat, 22 May 2010 01:41:35 +0000 (01:41 +0000)]
matroskadec: Allow unknown EBML doctype

Originally committed as revision 23246 to svn://svn.ffmpeg.org/ffmpeg/trunk