platform/upstream/libav.git
15 years agoFix svq3 decoding, is_complex was not initialized.
Michael Niedermayer [Wed, 17 Dec 2008 03:41:48 +0000 (03:41 +0000)]
Fix svq3 decoding, is_complex was not initialized.

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

15 years agoReplace != 0 || check by |
Michael Niedermayer [Wed, 17 Dec 2008 02:53:03 +0000 (02:53 +0000)]
Replace != 0 || check by |
3 cpu cycles faster

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

15 years agoSplit filter_mb_dir() out of filter_mb().
Michael Niedermayer [Wed, 17 Dec 2008 02:35:14 +0000 (02:35 +0000)]
Split filter_mb_dir() out of filter_mb().
1% overall decoding speed up for cathedral-beta2-400extra-crop-avc.mp4
no speed change for Aladin.mpg
Benchmarks done on Pentium dual

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

15 years agoAC3: fix strict aliasing violation in parser
Måns Rullgård [Wed, 17 Dec 2008 02:30:26 +0000 (02:30 +0000)]
AC3: fix strict aliasing violation in parser

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

15 years agoAAC: fix strict aliasing violation in parser
Måns Rullgård [Wed, 17 Dec 2008 02:30:22 +0000 (02:30 +0000)]
AAC: fix strict aliasing violation in parser

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

15 years agoARM: replace "armv4l" with "arm"
Måns Rullgård [Wed, 17 Dec 2008 00:54:54 +0000 (00:54 +0000)]
ARM: replace "armv4l" with "arm"

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

15 years agoRemove obsolete and misleading comments.
Diego Biurrun [Wed, 17 Dec 2008 00:39:45 +0000 (00:39 +0000)]
Remove obsolete and misleading comments.

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

15 years agoRoundup now works from a ffmpeg.org domain as well, so prefer that.
Diego Biurrun [Tue, 16 Dec 2008 23:45:26 +0000 (23:45 +0000)]
Roundup now works from a ffmpeg.org domain as well, so prefer that.

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

15 years agoFix indention, also do a little vertical alignment of changed lines.
Michael Niedermayer [Tue, 16 Dec 2008 22:16:11 +0000 (22:16 +0000)]
Fix indention, also do a little vertical alignment of changed lines.

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

15 years agoImplement av_set_string3().
Stefano Sabatini [Tue, 16 Dec 2008 21:35:35 +0000 (21:35 +0000)]
Implement av_set_string3().

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

15 years agoFactorize 3 multiplications out, code becomes 3 cpu cycles faster.
Michael Niedermayer [Tue, 16 Dec 2008 21:08:16 +0000 (21:08 +0000)]
Factorize 3 multiplications out, code becomes 3 cpu cycles faster.
(not significant as thats just per MB)

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

15 years agoMove ENABLE_SMALL back to the per MB check, as otherwise gcc wont remove
Michael Niedermayer [Tue, 16 Dec 2008 20:43:39 +0000 (20:43 +0000)]
Move ENABLE_SMALL back to the per MB check, as otherwise gcc wont remove
the code.

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

15 years agoDo not recalculate constant part of is_complex for every MB.
Michael Niedermayer [Tue, 16 Dec 2008 20:26:22 +0000 (20:26 +0000)]
Do not recalculate constant part of is_complex for every MB.

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

15 years agoSupport the new lossless mode.
Michael Niedermayer [Tue, 16 Dec 2008 20:09:09 +0000 (20:09 +0000)]
Support the new lossless mode.

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

15 years agodct-test: add ARM IDCTs
Måns Rullgård [Tue, 16 Dec 2008 20:00:07 +0000 (20:00 +0000)]
dct-test: add ARM IDCTs

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

15 years agodct-test: add PARTTRANS permutation
Måns Rullgård [Tue, 16 Dec 2008 19:59:50 +0000 (19:59 +0000)]
dct-test: add PARTTRANS permutation

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

15 years agoHorizontal and vertical prediction functions needed for new lossless mode
Michael Niedermayer [Tue, 16 Dec 2008 19:39:01 +0000 (19:39 +0000)]
Horizontal and vertical prediction functions needed for new lossless mode
of H.264.

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

15 years agoFix bug where the avi demxuer lost the first frame of malformed
Michael Niedermayer [Tue, 16 Dec 2008 16:14:07 +0000 (16:14 +0000)]
Fix bug where the avi demxuer lost the first frame of malformed
ODML avis.
Fixes VS2k5DebugDemo-01-partial.avi

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

15 years agocheck that nb_streams is valid before setting stream, fix crash with jp2 which do...
Baptiste Coudurier [Tue, 16 Dec 2008 08:47:28 +0000 (08:47 +0000)]
check that nb_streams is valid before setting stream, fix crash with jp2 which do not use same structure

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

15 years agoAdd const qualifiers to decode functions.
Benoit Fouet [Tue, 16 Dec 2008 08:02:05 +0000 (08:02 +0000)]
Add const qualifiers to decode functions.

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

15 years agoFix warning "format not a string literal and no format arguments".
Benoit Fouet [Tue, 16 Dec 2008 07:56:33 +0000 (07:56 +0000)]
Fix warning "format not a string literal and no format arguments".

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

15 years agoadd MPNG fourcc
Ben Littler [Tue, 16 Dec 2008 05:22:53 +0000 (05:22 +0000)]
add MPNG fourcc
fixes http://sceneish.ath.cx/stuff/netmap/netmap.avi

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

15 years agotwo more mpeg4 fourccs and one msmpeg4v3 from uncommon codec list
Ben Littler [Tue, 16 Dec 2008 05:20:11 +0000 (05:20 +0000)]
two more mpeg4 fourccs and one msmpeg4v3 from uncommon codec list

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

15 years agoQIVG fourcc, fixes http://rodweb.dip.jp/partner/check.avi
Ben Littler [Tue, 16 Dec 2008 03:49:26 +0000 (03:49 +0000)]
QIVG fourcc, fixes rodweb.dip.jp/partner/check.avi

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

15 years agoadd rpza avi fourcc
Ben Littler [Tue, 16 Dec 2008 03:42:10 +0000 (03:42 +0000)]
add rpza avi fourcc

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

15 years agoDo not skip frames until the first keyframe when stream copying but
Michael Niedermayer [Tue, 16 Dec 2008 03:11:36 +0000 (03:11 +0000)]
Do not skip frames until the first keyframe when stream copying but
no starttime is set.
Fixes at least -vcodec copy with VS2k5DebugDemo-01-partial.avi.

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

15 years agoWorkaround for shared libs on OS X with Apple gcc 4.0.1
David Conrad [Tue, 16 Dec 2008 00:47:59 +0000 (00:47 +0000)]
Workaround for shared libs on OS X with Apple gcc 4.0.1

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

15 years agoCheck extradata is large enough.
Laurent Aimar [Mon, 15 Dec 2008 23:01:54 +0000 (23:01 +0000)]
Check extradata is large enough.
Patch by Laurent Aimar fenrir \:/ via ecp fr

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

15 years agoImplement the av_set_number2() internal function, which makes possible
Stefano Sabatini [Mon, 15 Dec 2008 22:48:10 +0000 (22:48 +0000)]
Implement the av_set_number2() internal function, which makes possible
to distinguish between a not found option failure and a not valid
value failure.

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

15 years agoRemove ending period in a log message, which was inconsistent with
Stefano Sabatini [Mon, 15 Dec 2008 22:40:28 +0000 (22:40 +0000)]
Remove ending period in a log message, which was inconsistent with
most other messages.

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

15 years agoAdd xvmc configure support.
Diego Biurrun [Mon, 15 Dec 2008 22:24:12 +0000 (22:24 +0000)]
Add xvmc configure support.

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

15 years agoSwitch xvmc over to a CONFIG_ option.
Diego Biurrun [Mon, 15 Dec 2008 22:22:51 +0000 (22:22 +0000)]
Switch xvmc over to a CONFIG_ option.

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

15 years agowhitespace cosmetics
Diego Biurrun [Mon, 15 Dec 2008 22:14:58 +0000 (22:14 +0000)]
whitespace cosmetics

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

15 years agoARM: NEON optimised h264_idct_dc_add
Måns Rullgård [Mon, 15 Dec 2008 22:12:54 +0000 (22:12 +0000)]
ARM: NEON optimised h264_idct_dc_add

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

15 years agoARM: NEON optimised h264_idct_add
Måns Rullgård [Mon, 15 Dec 2008 22:12:51 +0000 (22:12 +0000)]
ARM: NEON optimised h264_idct_add

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

15 years agoARM: NEON optimised H.264 8x8 and 16x16 qpel MC
Måns Rullgård [Mon, 15 Dec 2008 22:12:47 +0000 (22:12 +0000)]
ARM: NEON optimised H.264 8x8 and 16x16 qpel MC

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

15 years agoARM: NEON optimised H.264 loop filter
Måns Rullgård [Mon, 15 Dec 2008 22:12:44 +0000 (22:12 +0000)]
ARM: NEON optimised H.264 loop filter

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

15 years agoARM: NEON optimised {put,avg}_h264_chroma_mc[48]
Måns Rullgård [Mon, 15 Dec 2008 22:12:41 +0000 (22:12 +0000)]
ARM: NEON optimised {put,avg}_h264_chroma_mc[48]

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

15 years agoARM: NEON optimised simple_idct
Måns Rullgård [Mon, 15 Dec 2008 22:12:37 +0000 (22:12 +0000)]
ARM: NEON optimised simple_idct

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

15 years agoARM: NEON optimised put_pixels functions
Måns Rullgård [Mon, 15 Dec 2008 22:12:32 +0000 (22:12 +0000)]
ARM: NEON optimised put_pixels functions

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

15 years agoAvoid invasion of POSIX-reserved _t namespace.
Diego Biurrun [Mon, 15 Dec 2008 21:02:17 +0000 (21:02 +0000)]
Avoid invasion of POSIX-reserved _t namespace.

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

15 years agoFix one peculiar case in Smacker decoding.
Daniel Verkamp [Mon, 15 Dec 2008 17:51:10 +0000 (17:51 +0000)]
Fix one peculiar case in Smacker decoding.
Patch by Daniel Verkamp ($firstname <at> drv <dot> nu)
Thread [PATCH] Smacker video decoder bug fix

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

15 years agoAvoid POSIX-reserved _t in identifier names.
Diego Biurrun [Mon, 15 Dec 2008 10:08:31 +0000 (10:08 +0000)]
Avoid POSIX-reserved _t in identifier names.

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

15 years agoEnable filter_mb_fast if CODEC_FLAG2_FAST is set.
Michael Niedermayer [Mon, 15 Dec 2008 01:24:04 +0000 (01:24 +0000)]
Enable filter_mb_fast if CODEC_FLAG2_FAST is set.

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

15 years agovp56: don't reset dimensions to 0 in codec init
Aurelien Jacobs [Mon, 15 Dec 2008 00:00:16 +0000 (00:00 +0000)]
vp56: don't reset dimensions to 0 in codec init

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

15 years agoUse get_buffer() and url_fskip() for some loops of get_byte()s. See discussion in...
Ronald S. Bultje [Sun, 14 Dec 2008 22:26:28 +0000 (22:26 +0000)]
Use get_buffer() and url_fskip() for some loops of get_byte()s. See discussion in ML thread
"[PATCH] rmdec.c: use get_buffer and skip_bytes instead of loops of get_byte".

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

15 years agoReindent something that looks weird.
Ronald S. Bultje [Sun, 14 Dec 2008 22:24:58 +0000 (22:24 +0000)]
Reindent something that looks weird.

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

15 years agoAdd comment to indicate why the SDP line buffer is as big as it is.
Ronald S. Bultje [Sun, 14 Dec 2008 22:23:59 +0000 (22:23 +0000)]
Add comment to indicate why the SDP line buffer is as big as it is.

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

15 years agoIncrease SDP line buffer size because ASF headers in RTSP-MS are very big. See ML...
Ronald S. Bultje [Sun, 14 Dec 2008 22:23:14 +0000 (22:23 +0000)]
Increase SDP line buffer size because ASF headers in RTSP-MS are very big. See ML discussion
in "rtsp.c: increase SDP line buffer size" thread.

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

15 years agoMove documentation of avcodec_register_all() from allcodecs.c to
Stefano Sabatini [Sun, 14 Dec 2008 21:38:03 +0000 (21:38 +0000)]
Move documentation of avcodec_register_all() from allcodecs.c to
avcodec.h.

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

15 years agoRemove set_all_opt() and its use in av_set_string2(). Make
Stefano Sabatini [Sun, 14 Dec 2008 21:34:12 +0000 (21:34 +0000)]
Remove set_all_opt() and its use in av_set_string2(). Make
av_set_string() and av_set_string2() do not accept as parameter the
name of a named constant.

This avoids av_set_string2() and av_set_string() to misbehave when
there is an option and a named constant with the same name.

See the thread: "[PATCH] Remove libavcodec/opt.c:set_all_opt()".

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

15 years ago10l (forgot sample_size)
Michael Niedermayer [Sun, 14 Dec 2008 20:38:05 +0000 (20:38 +0000)]
10l (forgot sample_size)
Should fix fate.

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

15 years agoDocument register_avcodec().
Stefano Sabatini [Sun, 14 Dec 2008 20:04:41 +0000 (20:04 +0000)]
Document register_avcodec().

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

15 years agoMake register_avcodec() call avcodec_init().
Stefano Sabatini [Sun, 14 Dec 2008 20:04:00 +0000 (20:04 +0000)]
Make register_avcodec() call avcodec_init().

This avoids the possibility to use a registered codec without first
initializing libavcodec, which resulted in unexpected behavior.

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

15 years agoUse a more explicit "codec" rather than "format" as the parameter of
Stefano Sabatini [Sun, 14 Dec 2008 19:36:38 +0000 (19:36 +0000)]
Use a more explicit "codec" rather than "format" as the parameter of
register_avcodec().

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

15 years agooggflac: fix bitstream reader usage
Måns Rullgård [Sun, 14 Dec 2008 17:30:18 +0000 (17:30 +0000)]
oggflac: fix bitstream reader usage

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

15 years agoindeo3: replace sizeof(struct ...) by sizeof(*var)
Aurelien Jacobs [Sun, 14 Dec 2008 16:41:51 +0000 (16:41 +0000)]
indeo3: replace sizeof(struct ...) by sizeof(*var)

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

15 years agoFix non interleaved variable fps ODML avis.
Michael Niedermayer [Sun, 14 Dec 2008 15:48:48 +0000 (15:48 +0000)]
Fix non interleaved variable fps ODML avis.
Fixed issue738

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

15 years agocosmetics: typo/grammar/wording/whitespace fixes
Diego Biurrun [Sun, 14 Dec 2008 15:48:01 +0000 (15:48 +0000)]
cosmetics: typo/grammar/wording/whitespace fixes

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

15 years agoFix the use of Requires.private and Libs.private in generated .pc files.
Reinhard Tartler [Sun, 14 Dec 2008 15:42:14 +0000 (15:42 +0000)]
Fix the use of Requires.private and Libs.private in generated .pc files.

Patch by Reinhard Tartler \ siretart ! tauware + de /.

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

15 years agoCosmetics: remove empty comments.
Stefano Sabatini [Sun, 14 Dec 2008 15:02:27 +0000 (15:02 +0000)]
Cosmetics: remove empty comments.

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

15 years agoFix files with fps between 0.5 and 0.1.
Michael Niedermayer [Sun, 14 Dec 2008 14:45:57 +0000 (14:45 +0000)]
Fix files with fps between 0.5 and 0.1.
Fixes issue749

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

15 years agoRemove silly FIXME comment.
Michael Niedermayer [Sun, 14 Dec 2008 14:01:12 +0000 (14:01 +0000)]
Remove silly FIXME comment.

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

15 years agoPrevent shift overflow, patch by Anders Grönberg, galileo.m2 gmail com.
Anders Grönberg [Sun, 14 Dec 2008 12:30:34 +0000 (12:30 +0000)]
Prevent shift overflow, patch by Anders Grönberg, galileo.m2 gmail com.

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

15 years agoAdd a few const qualifiers in appropriate places.
Anders Grönberg [Sun, 14 Dec 2008 12:24:50 +0000 (12:24 +0000)]
Add a few const qualifiers in appropriate places.
patch by Anders Grönberg, galileo.m2 gmail com

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

15 years agoundoing revision 16118 for truemotion1.c; commit was premature
Mike Melanson [Sun, 14 Dec 2008 03:41:11 +0000 (03:41 +0000)]
undoing revision 16118 for truemotion1.c; commit was premature

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

15 years agoThe POSIX namespace shall be held sacrosanct. To that end,
Mike Melanson [Sun, 14 Dec 2008 03:29:33 +0000 (03:29 +0000)]
The POSIX namespace shall be held sacrosanct. To that end,
continue eliminating _t from structure names in FFmpeg.

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

15 years agoavoid POSIX reserved _t suffix
Aurelien Jacobs [Sun, 14 Dec 2008 00:48:16 +0000 (00:48 +0000)]
avoid POSIX reserved _t suffix

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

15 years agoGet rid of mmx_t.
Aurelien Jacobs [Sun, 14 Dec 2008 00:46:27 +0000 (00:46 +0000)]
Get rid of mmx_t.

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

15 years agoRename rtp_payload_data_t to avoid clashes with the POSIX namespace
Luca Abeni [Sat, 13 Dec 2008 23:25:19 +0000 (23:25 +0000)]
Rename rtp_payload_data_t to avoid clashes with the POSIX namespace

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

15 years agoRemove useless typedef
Luca Abeni [Sat, 13 Dec 2008 23:20:05 +0000 (23:20 +0000)]
Remove useless typedef

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

15 years agoRemove unused types
Luca Abeni [Sat, 13 Dec 2008 23:03:34 +0000 (23:03 +0000)]
Remove unused types

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

15 years agoAvoid _t in gxf enum type names
Reimar Döffinger [Sat, 13 Dec 2008 21:58:17 +0000 (21:58 +0000)]
Avoid _t in gxf enum type names

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

15 years agoSplit RMContext into RMDemux/MuxContext and make them private in rmdec/enc.c.
Ronald S. Bultje [Sat, 13 Dec 2008 21:40:20 +0000 (21:40 +0000)]
Split RMContext into RMDemux/MuxContext and make them private in rmdec/enc.c.
Reason for this is that there are no shared entries in the demuxer/muxer
context, making it a mystery as to why it was shared between the two. See
"[PATCH] clean rmdemux/muxcontext" patch on mailinglist.

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

15 years agoDon't access RMContext directly in rdt.c. Rather, use the return value of
Ronald S. Bultje [Sat, 13 Dec 2008 21:37:27 +0000 (21:37 +0000)]
Don't access RMContext directly in rdt.c. Rather, use the return value of
ff_rm_parse_packet() to indicate whether more audio packets are available
in the demuxer from the last RM frame, and save that in the RDT parsing
context. See patch/discussion in "[PATCH] rdt.c: don't access RMContext"
on ML.

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

15 years agoDo not invade _t POSIX namespace.
Diego Biurrun [Sat, 13 Dec 2008 18:16:06 +0000 (18:16 +0000)]
Do not invade _t POSIX namespace.

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

15 years agoSeparate the packet fetching from the data reading, so that the data reading
Ronald S. Bultje [Sat, 13 Dec 2008 17:18:11 +0000 (17:18 +0000)]
Separate the packet fetching from the data reading, so that the data reading
function is assured to parse at most one packet. This makes this function
useful for ASF data packet parsing in a "push-mode" in addition to the
current "pull-mode", and therefore allows for use of these functions in,
for example, the RTSP demuxer (for MS-RTSP support). Tested to give identical
output before and after for regular ASF playback, also see discussion in the
ML thread "[PATCH] asf.c: move packet_time_start=0 statement". Testsuite also
works after the patch, tested by Benoit Fouet.

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

15 years ago100l: Add missing backslashes.
Diego Biurrun [Sat, 13 Dec 2008 17:04:22 +0000 (17:04 +0000)]
100l: Add missing backslashes.

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

15 years agocosmetics: Break some lines for a more aesthetically pleasing result.
Diego Biurrun [Sat, 13 Dec 2008 16:35:58 +0000 (16:35 +0000)]
cosmetics: Break some lines for a more aesthetically pleasing result.

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

15 years agoRemove misleading comment, _t is POSIX-reserved namespace.
Diego Biurrun [Sat, 13 Dec 2008 16:08:31 +0000 (16:08 +0000)]
Remove misleading comment, _t is POSIX-reserved namespace.

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

15 years agoconfigure: fix $nm
Måns Rullgård [Sat, 13 Dec 2008 15:45:03 +0000 (15:45 +0000)]
configure: fix $nm

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

15 years agoRemove other shared lib names from linker command line for shared libs
Måns Rullgård [Sat, 13 Dec 2008 15:31:30 +0000 (15:31 +0000)]
Remove other shared lib names from linker command line for shared libs

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

15 years agoAllow setting a different nm binary from the configure line.
Reimar Döffinger [Sat, 13 Dec 2008 15:13:24 +0000 (15:13 +0000)]
Allow setting a different nm binary from the configure line.

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

15 years agoMake mips64 a separate arch with fast_64bit.
Diego Biurrun [Sat, 13 Dec 2008 14:29:53 +0000 (14:29 +0000)]
Make mips64 a separate arch with fast_64bit.

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

15 years agowhitespace cosmetics
Diego Biurrun [Sat, 13 Dec 2008 13:39:13 +0000 (13:39 +0000)]
whitespace cosmetics

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

15 years agoReplace 'typedef struct ustr_t' by 'struct ustr', _t is POSIX namespace.
Diego Biurrun [Sat, 13 Dec 2008 13:34:59 +0000 (13:34 +0000)]
Replace 'typedef struct ustr_t' by 'struct ustr', _t is POSIX namespace.

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

15 years agoAvoid _t in identifier names, _t is reserved by POSIX.
Jai Menon [Sat, 13 Dec 2008 13:11:42 +0000 (13:11 +0000)]
Avoid _t in identifier names, _t is reserved by POSIX.
patch by Jai Menon, jmenon86 gmail com

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

15 years agoAdd img_convert() to imgconvert.h and #include it from imgresample.c.
Diego Biurrun [Sat, 13 Dec 2008 12:56:29 +0000 (12:56 +0000)]
Add img_convert() to imgconvert.h and #include it from imgresample.c.
This fixes an implicit declaration of img_convert() warning.
taken from a patchset from Anders Grönberg, galileo.m2 gmail com

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

15 years agoMatroska uses tables from isom.c, so add the object file to its dependencies.
Anders Grönberg [Sat, 13 Dec 2008 12:46:11 +0000 (12:46 +0000)]
Matroska uses tables from isom.c, so add the object file to its dependencies.
extracted from a patch by Anders Grönberg, galileo.m2 gmail com

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

15 years agoAdd mips64 to the architecture list.
Diego Biurrun [Sat, 13 Dec 2008 11:35:59 +0000 (11:35 +0000)]
Add mips64 to the architecture list.
Taken from the OpenBSD ports tree.

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

15 years agoAdd alternative names for sh4 and parisc architectures.
Diego Biurrun [Sat, 13 Dec 2008 11:35:08 +0000 (11:35 +0000)]
Add alternative names for sh4 and parisc architectures.
Taken from the OpenBSD ports tree.

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

15 years agoLet imgresample altivec code build
Luca Barbato [Sat, 13 Dec 2008 10:53:30 +0000 (10:53 +0000)]
Let imgresample altivec code build

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

15 years agoCleanup types
Luca Barbato [Sat, 13 Dec 2008 10:52:34 +0000 (10:52 +0000)]
Cleanup types

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

15 years agoUnbreak imgresample altivec
Luca Barbato [Sat, 13 Dec 2008 10:49:38 +0000 (10:49 +0000)]
Unbreak imgresample altivec

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

15 years agoRename type to be consistent
Luca Barbato [Sat, 13 Dec 2008 10:45:44 +0000 (10:45 +0000)]
Rename type to be consistent

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

15 years agoDefine _BSD_SOURCE in bktr.c, dev/ic/bt8xx.h needs the u_short etc. typedefs,
Reimar Döffinger [Sat, 13 Dec 2008 09:16:12 +0000 (09:16 +0000)]
Define _BSD_SOURCE in bktr.c, dev/ic/bt8xx.h needs the u_short etc. typedefs,
which sys/types.h will not generate without this.

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

15 years agoFix regression.sh to work on OpenBSD which has md5 instead of md5sum
Reimar Döffinger [Sat, 13 Dec 2008 09:10:55 +0000 (09:10 +0000)]
Fix regression.sh to work on OpenBSD which has md5 instead of md5sum
but it is in the path (/bin), not /sbin.

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

15 years agoRemove OpenBSD SLIBNAME magic, it seems unnecessary and breaks compilation.
Reimar Döffinger [Sat, 13 Dec 2008 08:53:31 +0000 (08:53 +0000)]
Remove OpenBSD SLIBNAME magic, it seems unnecessary and breaks compilation.

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

15 years agompegts: replace Program_t typedef with "struct Program"
Måns Rullgård [Sat, 13 Dec 2008 00:04:34 +0000 (00:04 +0000)]
mpegts: replace Program_t typedef with "struct Program"

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

15 years agos/#AVClass/AVClass/, consistent with the rest of the doxy.
Stefano Sabatini [Fri, 12 Dec 2008 23:02:21 +0000 (23:02 +0000)]
s/#AVClass/AVClass/, consistent with the rest of the doxy.

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