]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
15 years agosince code now use get_bits_long, allocate padding buffer
bcoudurier [Sun, 22 Mar 2009 02:47:35 +0000 (02:47 +0000)]
since code now use get_bits_long, allocate padding buffer

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

15 years agoavoid creating a new stream not referenced in pmt since it cannot be associated to...
bcoudurier [Sun, 22 Mar 2009 02:04:28 +0000 (02:04 +0000)]
avoid creating a new stream not referenced in pmt since it cannot be associated to a program, fix issue 835

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

15 years agoAdd common VA API data structures and helpers.
gb [Sun, 22 Mar 2009 01:32:27 +0000 (01:32 +0000)]
Add common VA API data structures and helpers.

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

15 years agoAdd support for HW accelerated VC-1 decoding through the new
gb [Sat, 21 Mar 2009 23:44:21 +0000 (23:44 +0000)]
Add support for HW accelerated VC-1 decoding through the new
AVHWAccel infrastructure.

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

15 years agoreset codec width/height for h264 forcing decoder to parse extradata
bcoudurier [Sat, 21 Mar 2009 23:29:34 +0000 (23:29 +0000)]
reset codec width/height for h264 forcing decoder to parse extradata

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

15 years agoChange the RGB5X5/BGR5X5 pixel format defines so that we have little
stefano [Sat, 21 Mar 2009 23:08:20 +0000 (23:08 +0000)]
Change the RGB5X5/BGR5X5 pixel format defines so that we have little
endian and big endian variants instead of native-endian ones.

This patch breaks API/ABI backward-compatibility.

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

15 years agoUse PIX_FMT_NE() macro.
stefano [Sat, 21 Mar 2009 22:50:29 +0000 (22:50 +0000)]
Use PIX_FMT_NE() macro.

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

15 years agoImplement PIX_FMT_NE() macro.
stefano [Sat, 21 Mar 2009 22:48:48 +0000 (22:48 +0000)]
Implement PIX_FMT_NE() macro.

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

15 years agoExtend the behavior of avcodec_get_pix_fmt(), if it cannot find a
stefano [Sat, 21 Mar 2009 22:43:46 +0000 (22:43 +0000)]
Extend the behavior of avcodec_get_pix_fmt(), if it cannot find a
pixel format for the provided name, make it look for the native endian
variant of the name.

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

15 years agoGlobally prefer enum PixelFormat over int when it makes sense.
stefano [Sat, 21 Mar 2009 22:24:44 +0000 (22:24 +0000)]
Globally prefer enum PixelFormat over int when it makes sense.

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

15 years agoRemove slash-skipping code because the function called right after that
rbultje [Sat, 21 Mar 2009 21:02:08 +0000 (21:02 +0000)]
Remove slash-skipping code because the function called right after that
statement (get_word_sep()) already does that all by itself. See summary in
"[PATCH] rtsp.c small cleanups" thread on mailinglist.

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

15 years agoReindent something where a if () --> { <-- is on a newline rather than on the
rbultje [Sat, 21 Mar 2009 21:00:51 +0000 (21:00 +0000)]
Reindent something where a if () --> { <-- is on a newline rather than on the
same line as the if. See summary in "[PATCH] rtsp.c small cleanups" thread on
mailinglist.

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

15 years agoFree metadata if already allocated; fixes a memleak if the header occurs twice
rbultje [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.

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

15 years agoFix silly bug in hex_to_data() where it compares a string pointer for whether
rbultje [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.

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

15 years agoRemove useless comment about something that is deprecated. See summary in
rbultje [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.

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

15 years agoUse skip_spaces() in the "redir" demuxer instead of "while (isspace(&p)) p++".
rbultje [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.

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

15 years agoMerge functional code from get_word() and get_word_sep() into a single
rbultje [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.

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

15 years agoAllow (and parse) incoming server messages (notices) interleaved with TCP
rbultje [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.

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

15 years agoAdd a @todo item to use ByteIOContext instead of URLContext at some point in
rbultje [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.

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

15 years agoRemove index writing in RM muxer, since it is broken (multiple streams per
rbultje [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.

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

15 years agoDon't allow to sync on packets of zero-size length, since these are never
rbultje [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.

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

15 years agoMove "- 12" statement up a bit. See "[PATCH] rmdec.c: prevent zero-length
rbultje [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.

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

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

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

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

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

15 years agoWhen warning about forbidden pseudo random number generation functions,
diego [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.

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

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

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

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

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

15 years agoMake Smacker audio decoder output audio in original bit depth
kostya [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

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

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

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

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

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

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

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

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

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

15 years agoFix avpicture_get_size for non-paletted formats with a helper palette
reimar [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.

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

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

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

15 years agodo not call av_find_stream_info if stream is ffm, should fix stalling
bcoudurier [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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

15 years agoFix the ogg regression test, which was broken by r18092. This is an
jbr [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.

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

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

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

15 years agoadd a function to calculate a more accurate estimate for maximum FLAC
jbr [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

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

15 years agoflacdec: account for frame and subframe header overhead when calculating
jbr [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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

15 years agoPCX encoder that handles 1-, 8-, and 24-bpp pixfmts.
cehoyos [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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

15 years agodo not write ffm write index by default, detect if file is being written and return EOF
bcoudurier [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

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

15 years agoAdd byte reordering for the SIPRO audio codec. See "rmdec.c: add SIPR codec
rbultje [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.

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

15 years agoAssign the x-pf-asf payload string to be decoded by rtp_asf.c, and add a
rbultje [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.

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

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

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

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

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

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

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

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

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

15 years agoMake softfloat test program compile again: Setting the av_log_level variable
diego [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().

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

15 years agoMake AES test program compile again: Setting the av_log_level variable
diego [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().

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

15 years agoRemove useless casting in asm "m" operand.
cehoyos [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

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

15 years agoMake ffmpeg fail if the argument provided to the -pix_fmt option is
stefano [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.

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

15 years agoset avi fsize to INT64_MAX if riff tag end is not set and file size is not available
bcoudurier [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

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

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

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

15 years agoCheck for VirtualAlloc() so it may be used to allocate executable memory in
ramiro [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.

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

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

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

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

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

15 years agoChange linesize alignment method to ensure that linesize[0] == 2*linesize[1]
reimar [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.

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

15 years agoDo not set linesize for palette data, it does not make sense and creates
reimar [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.

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

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

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

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

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

15 years agotypedef int x86_reg on non x86
michael [Thu, 19 Mar 2009 14:49:47 +0000 (14:49 +0000)]
typedef int x86_reg on non x86

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

15 years agoNicely align output columns.
diego [Thu, 19 Mar 2009 09:53:50 +0000 (09:53 +0000)]
Nicely align output columns.

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

15 years agoshare some constants between the FLAC encoder and FLAC decoder
jbr [Thu, 19 Mar 2009 03:04:21 +0000 (03:04 +0000)]
share some constants between the FLAC encoder and FLAC decoder

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

15 years agoFix compilation of adler32 test program: Use av_log_set_level()
diego [Thu, 19 Mar 2009 01:10:30 +0000 (01:10 +0000)]
Fix compilation of adler32 test program: Use av_log_set_level()
instead of assigning a value to the av_log_level variable.

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

15 years agoFix copy and paste typo in input/output devices section.
diego [Thu, 19 Mar 2009 01:04:23 +0000 (01:04 +0000)]
Fix copy and paste typo in input/output devices section.

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