OSDN Git Service
Baptiste Coudurier [Thu, 29 May 2008 02:28:33 +0000 (02:28 +0000)]
check that stream is set, fixes CID13 RUN2
Originally committed as revision 13522 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Thu, 29 May 2008 02:11:46 +0000 (02:11 +0000)]
check if stream has been set, fixes CID15 RUN2
Originally committed as revision 13521 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Thu, 29 May 2008 01:59:44 +0000 (01:59 +0000)]
init h, fixes CID54 RUN2
Originally committed as revision 13520 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Thu, 29 May 2008 00:58:41 +0000 (00:58 +0000)]
warn if pts is not set, prevent writing negative/weird cts, happens when using genpts and streamcopy
Originally committed as revision 13519 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Thu, 29 May 2008 00:54:33 +0000 (00:54 +0000)]
reindent
Originally committed as revision 13518 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Thu, 29 May 2008 00:54:09 +0000 (00:54 +0000)]
this should be valid for audio too
Originally committed as revision 13517 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Thu, 29 May 2008 00:35:23 +0000 (00:35 +0000)]
check if extradata comes from mp4 and assume bitsteam is already formated, should fix streamcopy
Originally committed as revision 13516 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 28 May 2008 23:56:25 +0000 (23:56 +0000)]
set avctx time_base in dv decoder
Originally committed as revision 13515 to svn://svn.ffmpeg.org/ffmpeg/trunk
Anssi Hannula [Wed, 28 May 2008 23:54:04 +0000 (23:54 +0000)]
Define private libraries as 'Libs:' when only static libraries are built,
so that they work correctly even without pkgconfig's --static option.
patch by Anssi Hannula, anssi.hannula gmail com
Originally committed as revision 13514 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 28 May 2008 22:36:08 +0000 (22:36 +0000)]
ILP64 fix
Originally committed as revision 13513 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 28 May 2008 22:26:35 +0000 (22:26 +0000)]
memleak / CID124 RUN2
Originally committed as revision 13512 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 28 May 2008 22:00:45 +0000 (22:00 +0000)]
use av_fifo_generic_write, old func is deprecated
Originally committed as revision 13511 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Wed, 28 May 2008 21:25:18 +0000 (21:25 +0000)]
Rename variable
Originally committed as revision 13510 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 28 May 2008 21:22:08 +0000 (21:22 +0000)]
Dead code removal, fixes CID59 RUN2.
Originally committed as revision 13509 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Wed, 28 May 2008 21:17:32 +0000 (21:17 +0000)]
More intermediate vars removal
Originally committed as revision 13508 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 28 May 2008 21:14:10 +0000 (21:14 +0000)]
Removing dead code, fixes CID4 RUN2.
Originally committed as revision 13507 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Wed, 28 May 2008 21:04:42 +0000 (21:04 +0000)]
Remove unused var
Originally committed as revision 13506 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Wed, 28 May 2008 21:02:51 +0000 (21:02 +0000)]
Remove useless intermediate var
Originally committed as revision 13505 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Wed, 28 May 2008 20:36:11 +0000 (20:36 +0000)]
Remove dec1() function
Originally committed as revision 13504 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 28 May 2008 20:33:22 +0000 (20:33 +0000)]
remove != 0
Originally committed as revision 13503 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 28 May 2008 20:30:42 +0000 (20:30 +0000)]
Do a little more checking.
Originally committed as revision 13502 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 28 May 2008 20:28:48 +0000 (20:28 +0000)]
Do not read from after the table, fixes CID108 RUN2.
Originally committed as revision 13501 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Wed, 28 May 2008 19:04:34 +0000 (19:04 +0000)]
Use ff_acelp_weighted_vector_sum() instead of reimplementing it
Originally committed as revision 13500 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Wed, 28 May 2008 19:02:16 +0000 (19:02 +0000)]
Make lpc coefficients 16 bit wide
Originally committed as revision 13499 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Wed, 28 May 2008 18:59:09 +0000 (18:59 +0000)]
Simplify implementation and use of dec2()
Originally committed as revision 13498 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 28 May 2008 17:04:45 +0000 (17:04 +0000)]
remove dummy coded frame, no muxer should use it anyway
Originally committed as revision 13497 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Wed, 28 May 2008 16:12:40 +0000 (16:12 +0000)]
Add a note about everybody's favorite recurring gcc bug:
error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
Originally committed as revision 13496 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 28 May 2008 11:59:41 +0000 (11:59 +0000)]
Prevent 128*1<<trellis from becoming 0 and creating 0 sized arrays.
fixes CID84 RUN2
CID85 RUN2
CID86 RUN2
CID87 RUN2
CID88 RUN2
CID89 RUN2
CID90 RUN2
CID91 RUN2
CID92 RUN2
CID93 RUN2
CID94 RUN2
CID95 RUN2
CID96 RUN2
CID97 RUN2
CID98 RUN2
CID99 RUN2
CID100 RUN2
CID101 RUN2
CID102 RUN2
CID103 RUN2
CID104 RUN2
CID105 RUN2
CID106 RUN2
Originally committed as revision 13495 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Wed, 28 May 2008 11:55:59 +0000 (11:55 +0000)]
Slightly clarify bitstream filter help output.
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13494 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 28 May 2008 11:34:26 +0000 (11:34 +0000)]
Remove coded_frame==NULL checks for video encoders.
Originally committed as revision 13493 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 28 May 2008 11:33:28 +0000 (11:33 +0000)]
set coded_frame
Originally committed as revision 13492 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 28 May 2008 10:25:20 +0000 (10:25 +0000)]
Update regression checksums after dts calculation fix (r13470).
Before, all dts where wrong, now just the first is a little odd.
Originally committed as revision 13491 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Wed, 28 May 2008 09:37:01 +0000 (09:37 +0000)]
Add command line option to set the value of bindir.
Originally committed as revision 13490 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Wed, 28 May 2008 09:20:59 +0000 (09:20 +0000)]
cosmetics: spelling typo fixes
Originally committed as revision 13489 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 28 May 2008 01:57:19 +0000 (01:57 +0000)]
Null pointer check / CID26.
Originally committed as revision 13488 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 28 May 2008 01:54:09 +0000 (01:54 +0000)]
Fix return type of ff_init_me().
Originally committed as revision 13487 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 28 May 2008 01:53:23 +0000 (01:53 +0000)]
useless
Originally committed as revision 13486 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 28 May 2008 01:34:46 +0000 (01:34 +0000)]
minor simplification
Originally committed as revision 13485 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 28 May 2008 01:30:59 +0000 (01:30 +0000)]
redundant
Originally committed as revision 13484 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 28 May 2008 00:10:34 +0000 (00:10 +0000)]
Fixes NULL pointer dereference CID66
Originally committed as revision 13483 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 28 May 2008 00:07:41 +0000 (00:07 +0000)]
Tell the user if a AVI is non interleaved.
Originally committed as revision 13482 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Tue, 27 May 2008 23:41:10 +0000 (23:41 +0000)]
Check dia size a little more. Fixes CID80.
Originally committed as revision 13481 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Tue, 27 May 2008 23:08:39 +0000 (23:08 +0000)]
Remove unused variable 'prefix' from config.mak.
Originally committed as revision 13480 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 27 May 2008 22:37:54 +0000 (22:37 +0000)]
use internal video frame number
Originally committed as revision 13479 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 27 May 2008 22:34:31 +0000 (22:34 +0000)]
cosmetics
Originally committed as revision 13478 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 27 May 2008 22:31:26 +0000 (22:31 +0000)]
simplify, use pointer to codec context in struct instead of only id
Originally committed as revision 13477 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 27 May 2008 22:31:09 +0000 (22:31 +0000)]
simplify, use pointer to codec context in struct instead of only id
Originally committed as revision 13476 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Tue, 27 May 2008 22:10:17 +0000 (22:10 +0000)]
Arrays where one element too small, fixes CID114.
this was possibly exploitable
Originally committed as revision 13475 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Tue, 27 May 2008 21:44:42 +0000 (21:44 +0000)]
redundant check--
Originally committed as revision 13474 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Tue, 27 May 2008 21:12:28 +0000 (21:12 +0000)]
memleak / fixes CID118
Originally committed as revision 13473 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Tue, 27 May 2008 20:48:27 +0000 (20:48 +0000)]
Fix memleak, fixed CID123.
Originally committed as revision 13472 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Tue, 27 May 2008 19:44:56 +0000 (19:44 +0000)]
Do not read from prior the array, fix CID 127.
Originally committed as revision 13471 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Tue, 27 May 2008 18:43:25 +0000 (18:43 +0000)]
Do not use the pts/dts calculation code which needs a parser, when no parser
is available.
Originally committed as revision 13470 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Tue, 27 May 2008 16:50:48 +0000 (16:50 +0000)]
Add comment
Originally committed as revision 13469 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Tue, 27 May 2008 16:14:31 +0000 (16:14 +0000)]
Fix doxy comments
Originally committed as revision 13468 to svn://svn.ffmpeg.org/ffmpeg/trunk
Dmitry Antipov [Tue, 27 May 2008 13:27:51 +0000 (13:27 +0000)]
Add Intel IWMMXT2 link, patch by Dmitry Antipov, dmantipov yandex ru.
Originally committed as revision 13467 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Tue, 27 May 2008 12:37:06 +0000 (12:37 +0000)]
Call x264 and Xvid libx264 and libxvid in the configure output for consistency.
Originally committed as revision 13466 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Tue, 27 May 2008 12:32:59 +0000 (12:32 +0000)]
cosmetics: XviD is now called Xvid.
Originally committed as revision 13465 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Tue, 27 May 2008 10:51:23 +0000 (10:51 +0000)]
cosmetics: typo fixes
Originally committed as revision 13464 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Tue, 27 May 2008 09:59:00 +0000 (09:59 +0000)]
Update documentation of show_version() to account for latest changes.
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13463 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 27 May 2008 04:33:48 +0000 (04:33 +0000)]
use AVFifoBuffer
Originally committed as revision 13462 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 27 May 2008 03:42:55 +0000 (03:42 +0000)]
cosmetics
Originally committed as revision 13461 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 27 May 2008 03:41:51 +0000 (03:41 +0000)]
merge init and declaration
Originally committed as revision 13460 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 27 May 2008 03:11:31 +0000 (03:11 +0000)]
simplify and use version instead
Originally committed as revision 13459 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 27 May 2008 03:00:40 +0000 (03:00 +0000)]
simplify
Originally committed as revision 13458 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 27 May 2008 02:57:48 +0000 (02:57 +0000)]
simplify
Originally committed as revision 13457 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 27 May 2008 02:55:34 +0000 (02:55 +0000)]
cosmetics, remove useless cases and braces
Originally committed as revision 13456 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 27 May 2008 01:26:22 +0000 (01:26 +0000)]
use av_fifo_generic_write, old func is deprecated
Originally committed as revision 13455 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 27 May 2008 01:19:19 +0000 (01:19 +0000)]
remove const qualifier, removes warning:
libavformat/file.c:99: warning: passing argument 2 of 'strtol' from incompatible pointer type
Originally committed as revision 13454 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Tue, 27 May 2008 00:45:45 +0000 (00:45 +0000)]
Do not remove gmon.out on clean, we never create it.
Originally committed as revision 13453 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Tue, 27 May 2008 00:43:39 +0000 (00:43 +0000)]
zero the upper frequencies of the correct coefficients
Originally committed as revision 13452 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Tue, 27 May 2008 00:38:35 +0000 (00:38 +0000)]
Remove TAGS target cruft.
Originally committed as revision 13451 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Tue, 27 May 2008 00:32:26 +0000 (00:32 +0000)]
Simplify phony target declaration.
Originally committed as revision 13450 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Tue, 27 May 2008 00:26:43 +0000 (00:26 +0000)]
Rename test-server target to servertest for consistency with other test targets.
Originally committed as revision 13449 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Mon, 26 May 2008 23:59:28 +0000 (23:59 +0000)]
typo
Originally committed as revision 13448 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Mon, 26 May 2008 23:45:38 +0000 (23:45 +0000)]
register myself as ffm maintainer
Originally committed as revision 13447 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Mon, 26 May 2008 23:36:05 +0000 (23:36 +0000)]
consistency cosmetics: indices --> indexes in variable names
Originally committed as revision 13446 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Mon, 26 May 2008 23:19:26 +0000 (23:19 +0000)]
Clarify avcodec_encode_audio() vs. PCM audio.
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13445 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Mon, 26 May 2008 23:14:25 +0000 (23:14 +0000)]
consistency cosmetics: indices --> indexes
Originally committed as revision 13444 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Mon, 26 May 2008 23:11:24 +0000 (23:11 +0000)]
cosmetics: typo
Originally committed as revision 13443 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Mon, 26 May 2008 23:09:46 +0000 (23:09 +0000)]
cosmetics: Use C-style comments in #endif directives.
Originally committed as revision 13442 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Mon, 26 May 2008 23:01:22 +0000 (23:01 +0000)]
small consistency fixes for the ffplay manual
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13441 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Mon, 26 May 2008 22:59:02 +0000 (22:59 +0000)]
small consistency fixes for the ffserver manual
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13440 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Mon, 26 May 2008 22:01:41 +0000 (22:01 +0000)]
aac and h264 in flv demuxing
Originally committed as revision 13439 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Mon, 26 May 2008 22:00:35 +0000 (22:00 +0000)]
aac and h264 in flv muxing
Originally committed as revision 13438 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Mon, 26 May 2008 21:52:54 +0000 (21:52 +0000)]
aac chan config is 0 if bitstream contains program_config_element
Originally committed as revision 13437 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Mon, 26 May 2008 20:29:16 +0000 (20:29 +0000)]
Support non interleaved avi with phantom streams.
Originally committed as revision 13436 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 26 May 2008 18:26:47 +0000 (18:26 +0000)]
Rename var: add read coefficients a decent name
Originally committed as revision 13435 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 26 May 2008 18:21:09 +0000 (18:21 +0000)]
Update comment
Originally committed as revision 13434 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 26 May 2008 18:18:33 +0000 (18:18 +0000)]
Rename var: val -> energy
Originally committed as revision 13433 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 26 May 2008 18:16:05 +0000 (18:16 +0000)]
Rename var: swapbuf* are LPC related
Originally committed as revision 13432 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 26 May 2008 17:10:00 +0000 (17:10 +0000)]
Rename var: buffer_2 is an adaptive codebook
Originally committed as revision 13431 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 26 May 2008 16:59:39 +0000 (16:59 +0000)]
Context vars are not global vars. glob is a bad name for it.
Originally committed as revision 13430 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 26 May 2008 16:55:22 +0000 (16:55 +0000)]
Rename context struct to be more consistent with the rest of ffmpeg
Originally committed as revision 13429 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Mon, 26 May 2008 11:32:42 +0000 (11:32 +0000)]
Warn about packed B-frames. (especially useful if the file in question is
not an avi ...)
Originally committed as revision 13428 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Mon, 26 May 2008 08:22:38 +0000 (08:22 +0000)]
update regression ref due to r13412
Originally committed as revision 13427 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Mon, 26 May 2008 06:34:57 +0000 (06:34 +0000)]
Revert "Add version information to DLLs."
Revert "Forgot to commit changes to subdir.mak in last revision."
Originally committed as revision 13426 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Mon, 26 May 2008 04:40:22 +0000 (04:40 +0000)]
replace printf by av_log
Originally committed as revision 13425 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Mon, 26 May 2008 04:38:46 +0000 (04:38 +0000)]
use av_hex_dump_log
Originally committed as revision 13424 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Mon, 26 May 2008 04:34:29 +0000 (04:34 +0000)]
use dprintf
Originally committed as revision 13423 to svn://svn.ffmpeg.org/ffmpeg/trunk