platform/upstream/libav.git
15 years agoFree metadata if already allocated; fixes a memleak if the header occurs twice
Ronald S. Bultje [Sat, 21 Mar 2009 20:59:59 +0000 (20:59 +0000)]
Free metadata if already allocated; fixes a memleak if the header occurs twice
in a stream (e.g. malicious input, broken file, etc.). See summary in "[PATCH]
rtsp.c small cleanups" thread on mailinglist.

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

15 years agoFix silly bug in hex_to_data() where it compares a string pointer for whether
Ronald S. Bultje [Sat, 21 Mar 2009 20:58:41 +0000 (20:58 +0000)]
Fix silly bug in hex_to_data() where it compares a string pointer for whether
it is '\0' rather than its content (char *p; if (p == '\0') instead of if
(*p == '\0')). See summary in "[PATCH] rtsp.c small cleanups" thread on
mailinglist.

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

15 years agoRemove useless comment about something that is deprecated. See summary in
Ronald S. Bultje [Sat, 21 Mar 2009 20:56:57 +0000 (20:56 +0000)]
Remove useless comment about something that is deprecated. See summary in
"[PATCH] rtsp.c small cleanups" thread on mailinglist.

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

15 years agoUse skip_spaces() in the "redir" demuxer instead of "while (isspace(&p)) p++".
Ronald S. Bultje [Sat, 21 Mar 2009 20:55:52 +0000 (20:55 +0000)]
Use skip_spaces() in the "redir" demuxer instead of "while (isspace(&p)) p++".
See summary in "[PATCH] rtsp.c small cleanups" thread on mailinglist.

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

15 years agoMerge functional code from get_word() and get_word_sep() into a single
Ronald S. Bultje [Sat, 21 Mar 2009 20:54:47 +0000 (20:54 +0000)]
Merge functional code from get_word() and get_word_sep() into a single
function, since they both do approximately the same thing. At the same time,
remove redir_isspace() altogether since code elsewhere (including
get_word_sep()) uses strchr() for the same purpose. See summary in "[PATCH]
rtsp.c small cleanups" thread.

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

15 years agoAllow (and parse) incoming server messages (notices) interleaved with TCP
Ronald S. Bultje [Sat, 21 Mar 2009 20:46:36 +0000 (20:46 +0000)]
Allow (and parse) incoming server messages (notices) interleaved with TCP
data packets or in addition to UDP data packets, over the RTSP/TCP connection.
See discussion in [PATCH] rtsp.c: read TCP server notifications/messages"
thread on mailinglist.

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

15 years agoAdd a @todo item to use ByteIOContext instead of URLContext at some point in
Ronald S. Bultje [Sat, 21 Mar 2009 20:44:46 +0000 (20:44 +0000)]
Add a @todo item to use ByteIOContext instead of URLContext at some point in
the future, requested by Luca in "[PATCH] rtsp.c: read TCP server
notifications/messages" thread.

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

15 years agoRemove index writing in RM muxer, since it is broken (multiple streams per
Ronald S. Bultje [Sat, 21 Mar 2009 20:34:24 +0000 (20:34 +0000)]
Remove index writing in RM muxer, since it is broken (multiple streams per
single index chunk) and is always empty anyway. See "[PATCH] rmenc.c: remove
index writing" thread.

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

15 years agoDon't allow to sync on packets of zero-size length, since these are never
Ronald S. Bultje [Sat, 21 Mar 2009 19:19:09 +0000 (19:19 +0000)]
Don't allow to sync on packets of zero-size length, since these are never
valid. See "[PATCH] rmdec.c: prevent zero-length packets" thread.

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

15 years agoMove "- 12" statement up a bit. See "[PATCH] rmdec.c: prevent zero-length
Ronald S. Bultje [Sat, 21 Mar 2009 19:18:07 +0000 (19:18 +0000)]
Move "- 12" statement up a bit. See "[PATCH] rmdec.c: prevent zero-length
packets" thread.

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

15 years agoRemove deprecated and now unused Mersenne Twister PRNG.
Diego Biurrun [Sat, 21 Mar 2009 17:28:38 +0000 (17:28 +0000)]
Remove deprecated and now unused Mersenne Twister PRNG.

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

15 years agoRegister myself as Smacker maintainer
Kostya Shishkov [Sat, 21 Mar 2009 17:01:56 +0000 (17:01 +0000)]
Register myself as Smacker maintainer

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

15 years agoWhen warning about forbidden pseudo random number generation functions,
Diego Biurrun [Sat, 21 Mar 2009 16:16:04 +0000 (16:16 +0000)]
When warning about forbidden pseudo random number generation functions,
suggest the correct replacement functions.

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

15 years agoFix reference to av_random_init where av_lfg_init was meant.
Diego Biurrun [Sat, 21 Mar 2009 16:14:55 +0000 (16:14 +0000)]
Fix reference to av_random_init where av_lfg_init was meant.

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

15 years agoFix reference to av_random where av_lfg_get was meant.
Diego Biurrun [Sat, 21 Mar 2009 16:14:21 +0000 (16:14 +0000)]
Fix reference to av_random where av_lfg_get was meant.

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

15 years agoMake Smacker audio decoder output audio in original bit depth
Daniel Verkamp [Sat, 21 Mar 2009 15:52:14 +0000 (15:52 +0000)]
Make Smacker audio decoder output audio in original bit depth

Patch by Daniel Verkamp
($firstname) at (three-letter file extension for drivers in Win 3.1) dot (nu)

Thread: [PATCH] Smacker: Output audio in original bit depth

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

15 years agoRemove deprecated functions and structures on next version bump.
Diego Biurrun [Sat, 21 Mar 2009 13:51:29 +0000 (13:51 +0000)]
Remove deprecated functions and structures on next version bump.

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

15 years agoFix build failure on x86_32 Mac OS X with PIC enabled
Cédric Schieli [Sat, 21 Mar 2009 12:16:32 +0000 (12:16 +0000)]
Fix build failure on x86_32 Mac OS X with PIC enabled

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

15 years agocheck if feed max file size is too small
Baptiste Coudurier [Sat, 21 Mar 2009 10:32:43 +0000 (10:32 +0000)]
check if feed max file size is too small

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

15 years agocosmetics, reindent and remove empty line
Baptiste Coudurier [Sat, 21 Mar 2009 10:29:37 +0000 (10:29 +0000)]
cosmetics, reindent and remove empty line

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

15 years agonew Truncate option which will make feeder truncate feed file
Baptiste Coudurier [Sat, 21 Mar 2009 10:28:49 +0000 (10:28 +0000)]
new Truncate option which will make feeder truncate feed file

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

15 years agoFix avpicture_get_size for non-paletted formats with a helper palette
Reimar Döffinger [Sat, 21 Mar 2009 10:25:20 +0000 (10:25 +0000)]
Fix avpicture_get_size for non-paletted formats with a helper palette
to not include the size of that palette.
Also clarify its documentation.

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

15 years agoFix planarCopy to ignore the GRAY8 "pseudo"-palette, fixes libavtest regression test.
Reimar Döffinger [Sat, 21 Mar 2009 10:20:16 +0000 (10:20 +0000)]
Fix planarCopy to ignore the GRAY8 "pseudo"-palette, fixes libavtest regression test.

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

15 years agoupdate ffserver regression ref
Baptiste Coudurier [Sat, 21 Mar 2009 10:03:37 +0000 (10:03 +0000)]
update ffserver regression ref

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

15 years agodo not call av_find_stream_info if stream is ffm, should fix stalling
Baptiste Coudurier [Sat, 21 Mar 2009 09:58:07 +0000 (09:58 +0000)]
do not call av_find_stream_info if stream is ffm, should fix stalling

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

15 years agosend busy reply if max connections number is exceeded
Baptiste Coudurier [Sat, 21 Mar 2009 09:56:25 +0000 (09:56 +0000)]
send busy reply if max connections number is exceeded

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

15 years agoReindent
David Conrad [Sat, 21 Mar 2009 08:22:36 +0000 (08:22 +0000)]
Reindent

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

15 years agoFix Speex header parsing in ogg demuxer
David Conrad [Sat, 21 Mar 2009 08:22:09 +0000 (08:22 +0000)]
Fix Speex header parsing in ogg demuxer

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

15 years agoDocument ogg_codec's header function
David Conrad [Sat, 21 Mar 2009 08:03:30 +0000 (08:03 +0000)]
Document ogg_codec's header function

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

15 years agofix compilation when DEBUG_SEEK is defined
Baptiste Coudurier [Sat, 21 Mar 2009 07:36:25 +0000 (07:36 +0000)]
fix compilation when DEBUG_SEEK is defined

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

15 years agofix valid seeking range
Baptiste Coudurier [Sat, 21 Mar 2009 07:35:52 +0000 (07:35 +0000)]
fix valid seeking range

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

15 years agoadjust write index if not set
Baptiste Coudurier [Sat, 21 Mar 2009 06:52:55 +0000 (06:52 +0000)]
adjust write index if not set

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

15 years agoupdate seek regression ref due to 18063
Baptiste Coudurier [Sat, 21 Mar 2009 05:03:11 +0000 (05:03 +0000)]
update seek regression ref due to 18063

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

15 years agoTake over sole maintainership for all FLAC-related stuff
Justin Ruggles [Sat, 21 Mar 2009 03:14:56 +0000 (03:14 +0000)]
Take over sole maintainership for all FLAC-related stuff

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

15 years agoFix the ogg regression test, which was broken by r18092. This is an
Justin Ruggles [Sat, 21 Mar 2009 02:06:31 +0000 (02:06 +0000)]
Fix the ogg regression test, which was broken by r18092. This is an
expected change because the ogg muxer with FLAC encoder uses the maximum
frame size estimate since it cannot rewrite the real maximum frame size
at end of encoding.

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

15 years agoadd myself as maintainer for new FLAC files
Justin Ruggles [Sat, 21 Mar 2009 01:55:36 +0000 (01:55 +0000)]
add myself as maintainer for new FLAC files

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

15 years agoadd a function to calculate a more accurate estimate for maximum FLAC
Justin Ruggles [Sat, 21 Mar 2009 01:54:31 +0000 (01:54 +0000)]
add a function to calculate a more accurate estimate for maximum FLAC
frame size and use the function in the FLAC decoder and FLAC encoder

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

15 years agoflacdec: account for frame and subframe header overhead when calculating
Justin Ruggles [Sat, 21 Mar 2009 01:27:28 +0000 (01:27 +0000)]
flacdec: account for frame and subframe header overhead when calculating
estimate for maximum frame size

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

15 years agorevert accidental unrelated change in last commit
Justin Ruggles [Sat, 21 Mar 2009 01:20:28 +0000 (01:20 +0000)]
revert accidental unrelated change in last commit

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

15 years agoshare sample rate and blocksize tables between the FLAC encoder and FLAC
Justin Ruggles [Sat, 21 Mar 2009 01:16:38 +0000 (01:16 +0000)]
share sample rate and blocksize tables between the FLAC encoder and FLAC
decoder

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

15 years agoprotect realloc overflow
Baptiste Coudurier [Sat, 21 Mar 2009 00:50:51 +0000 (00:50 +0000)]
protect realloc overflow

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

15 years agoflacenc: remove unneeded variable, 'min_encoded_framesize' and use
Justin Ruggles [Sat, 21 Mar 2009 00:50:19 +0000 (00:50 +0000)]
flacenc: remove unneeded variable, 'min_encoded_framesize' and use
'min_framesize' instead

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

15 years agoseek backwards 4 bytes if 'fLaC' marker is not found
Justin Ruggles [Sat, 21 Mar 2009 00:49:14 +0000 (00:49 +0000)]
seek backwards 4 bytes if 'fLaC' marker is not found

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

15 years agoflacdec: remove unneeded variable, 'assignment'
Justin Ruggles [Sat, 21 Mar 2009 00:48:07 +0000 (00:48 +0000)]
flacdec: remove unneeded variable, 'assignment'

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

15 years agoflacdec: cosmetics: rename 'decorrelation' to 'ch_mode'
Justin Ruggles [Sat, 21 Mar 2009 00:47:04 +0000 (00:47 +0000)]
flacdec: cosmetics: rename 'decorrelation' to 'ch_mode'

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

15 years agoflacenc: remove unneeded context variable, 'ch_code'
Justin Ruggles [Sat, 21 Mar 2009 00:45:44 +0000 (00:45 +0000)]
flacenc: remove unneeded context variable, 'ch_code'

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

15 years agoshare channel mode constants between the FLAC decoder and FLAC encoder
Justin Ruggles [Sat, 21 Mar 2009 00:44:42 +0000 (00:44 +0000)]
share channel mode constants between the FLAC decoder and FLAC encoder

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

15 years agoHostile takeover of the ogg demuxer, agreed to by Mans on irc
David Conrad [Fri, 20 Mar 2009 23:36:34 +0000 (23:36 +0000)]
Hostile takeover of the ogg demuxer, agreed to by Mans on irc

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

15 years agoRemove declaration of the removed function img_convert().
Stefano Sabatini [Fri, 20 Mar 2009 22:29:31 +0000 (22:29 +0000)]
Remove declaration of the removed function img_convert().

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

15 years agoGet rid of av_random in cook.c
Benjamin Larsson [Fri, 20 Mar 2009 21:32:30 +0000 (21:32 +0000)]
Get rid of av_random in cook.c

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

15 years agoGet rid of av_random in nellymoserdec.c
Benjamin Larsson [Fri, 20 Mar 2009 21:15:02 +0000 (21:15 +0000)]
Get rid of av_random in nellymoserdec.c

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

15 years agoPCX encoder that handles 1-, 8-, and 24-bpp pixfmts.
Daniel Verkamp [Fri, 20 Mar 2009 17:23:45 +0000 (17:23 +0000)]
PCX encoder that handles 1-, 8-, and 24-bpp pixfmts.

Patch by Daniel Verkamp, daniel drv nu

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

15 years agoAvoid crash on planarCopy to a destination without alpha.
Reimar Döffinger [Fri, 20 Mar 2009 17:22:03 +0000 (17:22 +0000)]
Avoid crash on planarCopy to a destination without alpha.
Makes regression tests run again, though the results are still wrong.

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

15 years agoInitialize pointer arrays which may be freed before being initialized.
Benoit Fouet [Fri, 20 Mar 2009 16:29:47 +0000 (16:29 +0000)]
Initialize pointer arrays which may be freed before being initialized.

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

15 years agoDo _not_ use rbx on x86_64, it will fail to compile with PIC, besides it
Reimar Döffinger [Fri, 20 Mar 2009 16:23:48 +0000 (16:23 +0000)]
Do _not_ use rbx on x86_64, it will fail to compile with PIC, besides it
added completely pointless code.

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

15 years agoFix swscale compilation with Altivec enabled.
Reimar Döffinger [Fri, 20 Mar 2009 16:12:03 +0000 (16:12 +0000)]
Fix swscale compilation with Altivec enabled.

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

15 years agoReindent after last commit
Cédric Schieli [Fri, 20 Mar 2009 14:44:26 +0000 (14:44 +0000)]
Reindent after last commit

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

15 years agoAdd a changelog entry for the alpha scaler support
Cédric Schieli [Fri, 20 Mar 2009 14:33:59 +0000 (14:33 +0000)]
Add a changelog entry for the alpha scaler support

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

15 years agoAlso test the alpha channel in swscale-example
Cédric Schieli [Fri, 20 Mar 2009 14:17:20 +0000 (14:17 +0000)]
Also test the alpha channel in swscale-example

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

15 years agoYUVA420P is now supported as output format
Cédric Schieli [Fri, 20 Mar 2009 14:16:24 +0000 (14:16 +0000)]
YUVA420P is now supported as output format

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

15 years agoAdd alpha channel scaling
Cédric Schieli [Fri, 20 Mar 2009 14:15:14 +0000 (14:15 +0000)]
Add alpha channel scaling

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

15 years agoAdd YUVA420P -> RGBA/BGRA/ARGB/ABGR unscaled converters
Cédric Schieli [Fri, 20 Mar 2009 14:14:28 +0000 (14:14 +0000)]
Add YUVA420P -> RGBA/BGRA/ARGB/ABGR unscaled converters

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

15 years agoAdd a CONFIG_SWSCALE_ALPHA option for alpha channel scaling (enabled by default)
Cédric Schieli [Fri, 20 Mar 2009 14:12:47 +0000 (14:12 +0000)]
Add a CONFIG_SWSCALE_ALPHA option for alpha channel scaling (enabled by default)

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

15 years agoUse a simpler and more general check for the gray case in the planarCopy function
Cédric Schieli [Fri, 20 Mar 2009 14:01:51 +0000 (14:01 +0000)]
Use a simpler and more general check for the gray case in the planarCopy function

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

15 years agomlp, truehd: support non 1:1 channel mapping.
Ramiro Polla [Fri, 20 Mar 2009 13:07:09 +0000 (13:07 +0000)]
mlp, truehd: support non 1:1 channel mapping.

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

15 years agoSupport "next parameter flags present" flag.
Ramiro Polla [Fri, 20 Mar 2009 13:04:14 +0000 (13:04 +0000)]
Support "next parameter flags present" flag.

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

15 years agotruehd: support up to 3 substreams.
Ramiro Polla [Fri, 20 Mar 2009 13:02:15 +0000 (13:02 +0000)]
truehd: support up to 3 substreams.

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

15 years agoRename hwaccel_data_private to hwaccel_picture_private.
Gwenole Beauchesne [Fri, 20 Mar 2009 12:04:58 +0000 (12:04 +0000)]
Rename hwaccel_data_private to hwaccel_picture_private.

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

15 years agoReplace random() usage in test programs by av_lfg_*().
Diego Biurrun [Fri, 20 Mar 2009 11:48:27 +0000 (11:48 +0000)]
Replace random() usage in test programs by av_lfg_*().

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

15 years agoOnly build motion-test if MMX is enabled.
Diego Biurrun [Fri, 20 Mar 2009 11:43:58 +0000 (11:43 +0000)]
Only build motion-test if MMX is enabled.

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

15 years agoAlign test program output columns.
Diego Biurrun [Fri, 20 Mar 2009 11:40:05 +0000 (11:40 +0000)]
Align test program output columns.

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

15 years agoRemove unused libavutil/random.h #include.
Diego Biurrun [Fri, 20 Mar 2009 10:48:01 +0000 (10:48 +0000)]
Remove unused libavutil/random.h #include.

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

15 years agoUse correct header for struct AVLFG.
Diego Biurrun [Fri, 20 Mar 2009 10:47:02 +0000 (10:47 +0000)]
Use correct header for struct AVLFG.

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

15 years agoresync ffm if error in stream
Baptiste Coudurier [Fri, 20 Mar 2009 01:44:45 +0000 (01:44 +0000)]
resync ffm if error in stream

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

15 years agotypo, fix eof check
Baptiste Coudurier [Fri, 20 Mar 2009 01:39:55 +0000 (01:39 +0000)]
typo, fix eof check

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

15 years agodo not write ffm write index by default, detect if file is being written and return EOF
Baptiste Coudurier [Fri, 20 Mar 2009 01:23:33 +0000 (01:23 +0000)]
do not write ffm write index by default, detect if file is being written and return EOF

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

15 years agoAdd byte reordering for the SIPRO audio codec. See "rmdec.c: add SIPR codec
Ronald S. Bultje [Fri, 20 Mar 2009 01:22:51 +0000 (01:22 +0000)]
Add byte reordering for the SIPRO audio codec. See "rmdec.c: add SIPR codec
try #2" thread. Patch originally by Vladimir Voroshilov.

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

15 years agoAssign the x-pf-asf payload string to be decoded by rtp_asf.c, and add a
Ronald S. Bultje [Fri, 20 Mar 2009 01:11:08 +0000 (01:11 +0000)]
Assign the x-pf-asf payload string to be decoded by rtp_asf.c, and add a
SDP line handler that parses the streamID in the SDP so that ASF stream
data can be matched to their respective streams in the RTSP demuxer. See
"[PATCH] RTSP-MS 12/15: ASF payload support" thread on mailinglist.

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

15 years agocheck av_find_stream_info return value
Baptiste Coudurier [Fri, 20 Mar 2009 01:07:22 +0000 (01:07 +0000)]
check av_find_stream_info return value

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

15 years agouniformize log messages and add some more
Baptiste Coudurier [Fri, 20 Mar 2009 01:05:51 +0000 (01:05 +0000)]
uniformize log messages and add some more

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

15 years agouse lfg and ff_random_get_seed instead of deprecated av_random
Baptiste Coudurier [Fri, 20 Mar 2009 01:00:53 +0000 (01:00 +0000)]
use lfg and ff_random_get_seed instead of deprecated av_random

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

15 years agocheck if feed and stream already exist before registering new one
Baptiste Coudurier [Fri, 20 Mar 2009 00:55:00 +0000 (00:55 +0000)]
check if feed and stream already exist before registering new one

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

15 years agoMake softfloat test program compile again: Setting the av_log_level variable
Diego Biurrun [Fri, 20 Mar 2009 00:23:13 +0000 (00:23 +0000)]
Make softfloat test program compile again: Setting the av_log_level variable
needs to be replaced by a call to av_log_set_level().

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

15 years agoMake AES test program compile again: Setting the av_log_level variable
Diego Biurrun [Fri, 20 Mar 2009 00:18:46 +0000 (00:18 +0000)]
Make AES test program compile again: Setting the av_log_level variable
needs to be replaced by a call to av_log_set_level().

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

15 years agoInitialize *srcContext, *dstContext, *outContext to NULL, avoids the warnings:
Diego Biurrun [Thu, 19 Mar 2009 23:33:35 +0000 (23:33 +0000)]
Initialize *srcContext, *dstContext, *outContext to NULL, avoids the warnings:
libswscale/swscale-example.c:60: warning: 'outContext' may be used uninitialized in this function
libswscale/swscale-example.c:60: warning: 'dstContext' may be used uninitialized in this function
libswscale/swscale-example.c:60: warning: 'srcContext' may be used uninitialized in this function

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

15 years agoRemove useless casting in asm "m" operand.
Matthieu Castet [Thu, 19 Mar 2009 23:29:19 +0000 (23:29 +0000)]
Remove useless casting in asm "m" operand.

Patch by Matthieu Castet, castet D matthieu A free D fr

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

15 years agoRemove useless casting in asm "m" operand.
Matthieu Castet [Thu, 19 Mar 2009 23:29:11 +0000 (23:29 +0000)]
Remove useless casting in asm "m" operand.

Patch by Matthieu Castet, castet D matthieu A free D fr

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

15 years agoMake ffmpeg fail if the argument provided to the -pix_fmt option is
Stefano Sabatini [Thu, 19 Mar 2009 22:29:32 +0000 (22:29 +0000)]
Make ffmpeg fail if the argument provided to the -pix_fmt option is
invalid.

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

15 years agoset avi fsize to INT64_MAX if riff tag end is not set and file size is not available
Baptiste Coudurier [Thu, 19 Mar 2009 21:57:14 +0000 (21:57 +0000)]
set avi fsize to INT64_MAX if riff tag end is not set and file size is not available

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

15 years agomove max analyze duration check before considering new packet
Baptiste Coudurier [Thu, 19 Mar 2009 21:54:34 +0000 (21:54 +0000)]
move max analyze duration check before considering new packet

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

15 years agoAllocate executable memory with VirtualAlloc() in Windows.
Ramiro Polla [Thu, 19 Mar 2009 21:52:44 +0000 (21:52 +0000)]
Allocate executable memory with VirtualAlloc() in Windows.

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

15 years agoCheck for VirtualAlloc() so it may be used to allocate executable memory in
Ramiro Polla [Thu, 19 Mar 2009 21:52:01 +0000 (21:52 +0000)]
Check for VirtualAlloc() so it may be used to allocate executable memory in
Windows.

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

15 years agoDrop unnecessary cast and cosmetically align.
Ramiro Polla [Thu, 19 Mar 2009 21:50:10 +0000 (21:50 +0000)]
Drop unnecessary cast and cosmetically align.

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

15 years agoSupport raw TrueHD files
Ramiro Polla [Thu, 19 Mar 2009 21:46:56 +0000 (21:46 +0000)]
Support raw TrueHD files

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

15 years agoFix indentation after r18047.
Reimar Döffinger [Thu, 19 Mar 2009 21:36:59 +0000 (21:36 +0000)]
Fix indentation after r18047.

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

15 years agoChange linesize alignment method to ensure that linesize[0] == 2*linesize[1]
Reimar Döffinger [Thu, 19 Mar 2009 21:34:55 +0000 (21:34 +0000)]
Change linesize alignment method to ensure that linesize[0] == 2*linesize[1]
for YUV420P and YUV422P always.
Fixes MPEG-2 4:2:2 encoding on PPC and ARM, and should fix mxf_d10 regression.

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

15 years agoDo not set linesize for palette data, it does not make sense and creates
Reimar Döffinger [Thu, 19 Mar 2009 21:31:10 +0000 (21:31 +0000)]
Do not set linesize for palette data, it does not make sense and creates
problems with following patch to fix linesize alignment.

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

15 years agoSplit TrueHD decoder from MLP
Ramiro Polla [Thu, 19 Mar 2009 21:23:39 +0000 (21:23 +0000)]
Split TrueHD decoder from MLP

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

15 years agoMOV: Use the AOT enum for the mp4_audio_types mapping.
Alex Converse [Thu, 19 Mar 2009 18:13:42 +0000 (18:13 +0000)]
MOV: Use the AOT enum for the mp4_audio_types mapping.

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

15 years agoRevert
Michael Niedermayer [Thu, 19 Mar 2009 15:02:44 +0000 (15:02 +0000)]
Revert
Date: Wed Mar 18 23:11:50 2009
New Revision: 28996

Log:
Fix libswscale compilation on non-x86, hopefully without breaking MinGW64 again.

This change was non optimal, correct would have been to revert the offending commits
if no time was available to find a clean fix.

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