platform/upstream/libav.git
15 years agoFix the EBX available configure check on Darwin/i386.
Alexander Strange [Mon, 10 Aug 2009 08:18:05 +0000 (08:18 +0000)]
Fix the EBX available configure check on Darwin/i386.

-mdynamic-no-pic is required for it, but it was only
added to CFLAGS and the check only used ASFLAGS.

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

15 years agoeval: include libavutil/mathematics.h for NAN and M_PI
Måns Rullgård [Mon, 10 Aug 2009 01:27:33 +0000 (01:27 +0000)]
eval: include libavutil/mathematics.h for NAN and M_PI

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

15 years agoeval: include our headers after system headers
Måns Rullgård [Mon, 10 Aug 2009 01:27:30 +0000 (01:27 +0000)]
eval: include our headers after system headers

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

15 years agoDefine INFINITIY and NAN in mathematics.h if missing
Måns Rullgård [Mon, 10 Aug 2009 01:27:27 +0000 (01:27 +0000)]
Define INFINITIY and NAN in mathematics.h if missing

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

15 years agoPut some altivec code under COMPILE_ALTIVEC, and not HAVE_ALTIVEC.
Ramiro Polla [Sun, 9 Aug 2009 15:34:57 +0000 (15:34 +0000)]
Put some altivec code under COMPILE_ALTIVEC, and not HAVE_ALTIVEC.

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

15 years agoRemove 'offset' argument from PUTRGB* macros since it's unneeded and caused
Kostya Shishkov [Sun, 9 Aug 2009 15:04:17 +0000 (15:04 +0000)]
Remove 'offset' argument from PUTRGB* macros since it's unneeded and caused
pixel swapping during some YUV2RGB conversions.

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

15 years agoDocument the output of ffmpeg -formats.
William R. Zwicky [Sun, 9 Aug 2009 10:42:38 +0000 (10:42 +0000)]
Document the output of ffmpeg -formats.

Patch by William R. Zwicky, wrzwicky pobox com

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

15 years agoGenerate dependencies while compiling if supported by compiler
Måns Rullgård [Sat, 8 Aug 2009 18:27:27 +0000 (18:27 +0000)]
Generate dependencies while compiling if supported by compiler

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

15 years agoGenerate dependencies when object files are built
Måns Rullgård [Sat, 8 Aug 2009 18:27:22 +0000 (18:27 +0000)]
Generate dependencies when object files are built

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

15 years agoRemove disabled crufty code.
Diego Biurrun [Sat, 8 Aug 2009 15:18:48 +0000 (15:18 +0000)]
Remove disabled crufty code.

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

15 years agofix riff subtitle timebase
Aurelien Jacobs [Fri, 7 Aug 2009 23:57:52 +0000 (23:57 +0000)]
fix riff subtitle timebase

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

15 years agoRemove some hunks of unused and disabled code cruft.
Diego Biurrun [Fri, 7 Aug 2009 14:53:31 +0000 (14:53 +0000)]
Remove some hunks of unused and disabled code cruft.

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

15 years agoRemove commented-out cruft.
Diego Biurrun [Thu, 6 Aug 2009 15:48:19 +0000 (15:48 +0000)]
Remove commented-out cruft.

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

15 years agoconfigure: allow comma-separated list in --enable/disable-thing=name
Måns Rullgård [Thu, 6 Aug 2009 15:45:25 +0000 (15:45 +0000)]
configure: allow comma-separated list in --enable/disable-thing=name

The argument to these options is now a comma-separated list of shell
patterns, e.g. --disable-decoder='indeo*,rv*'

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

15 years agoconfigure: allow wildcards in --enable/disable-thing=name
Måns Rullgård [Thu, 6 Aug 2009 15:45:22 +0000 (15:45 +0000)]
configure: allow wildcards in --enable/disable-thing=name

The name can now be a standard shell pattern.  For example,
--disable-encoder=* disables all encoders.

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

15 years agoconfigure: support --cpu=host to tune for the host system
Måns Rullgård [Thu, 6 Aug 2009 15:45:19 +0000 (15:45 +0000)]
configure: support --cpu=host to tune for the host system

This requires a gcc version with -march=native or -mcpu=native support,
which is somewhat random for non-x86.

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

15 years agoMake WMV2 encoder depend on H.263 encoder in configure.
Diego Biurrun [Thu, 6 Aug 2009 15:04:59 +0000 (15:04 +0000)]
Make WMV2 encoder depend on H.263 encoder in configure.

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

15 years agoMake MPEG-4 encoder depend on H.263 encoder in configure.
Diego Biurrun [Thu, 6 Aug 2009 13:04:48 +0000 (13:04 +0000)]
Make MPEG-4 encoder depend on H.263 encoder in configure.

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

15 years agoMake WMV1 encoder depend on H.263 encoder in configure.
Diego Biurrun [Thu, 6 Aug 2009 12:56:25 +0000 (12:56 +0000)]
Make WMV1 encoder depend on H.263 encoder in configure.

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

15 years agoDo not check for both CONFIG_H263_ENCODER and CONFIG_FLV_ENCODER.
Diego Biurrun [Wed, 5 Aug 2009 15:27:22 +0000 (15:27 +0000)]
Do not check for both CONFIG_H263_ENCODER and CONFIG_FLV_ENCODER.
The latter can never be enabled without the former.

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

15 years agoMake FLV encoder depend on H.263 encoder in configure.
Diego Biurrun [Wed, 5 Aug 2009 15:26:54 +0000 (15:26 +0000)]
Make FLV encoder depend on H.263 encoder in configure.

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

15 years agoDo not check for both CONFIG_H263_ENCODER and CONFIG_H263P_ENCODER.
Diego Biurrun [Wed, 5 Aug 2009 15:22:16 +0000 (15:22 +0000)]
Do not check for both CONFIG_H263_ENCODER and CONFIG_H263P_ENCODER.
The latter can never be enabled without the former.

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

15 years agoMake H.263+ (H263P) encoder depend on H.263 encoder in configure.
Diego Biurrun [Wed, 5 Aug 2009 15:21:36 +0000 (15:21 +0000)]
Make H.263+ (H263P) encoder depend on H.263 encoder in configure.

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

15 years agoDeclare the dependencies of the MSMPEG4v1/MSMPEG4v2/MSMPEG4v3 encoders on the
Diego Biurrun [Wed, 5 Aug 2009 13:02:04 +0000 (13:02 +0000)]
Declare the dependencies of the MSMPEG4v1/MSMPEG4v2/MSMPEG4v3 encoders on the
H.263 encoder in configure.

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

15 years agoDo not redundantly check for preprocessor definitions of CONFIG_RV10_ENCODER or
Diego Biurrun [Wed, 5 Aug 2009 10:46:43 +0000 (10:46 +0000)]
Do not redundantly check for preprocessor definitions of CONFIG_RV10_ENCODER or
CONFIG_RV20_ENCODER when also checking for CONFIG_H263_ENCODER.
The RV10/RV20 encoders depend on the H.263 encoder.

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

15 years agoDeclare the dependency of RV10/RV20 encoder on the H.263 encoder in configure.
Diego Biurrun [Wed, 5 Aug 2009 10:44:12 +0000 (10:44 +0000)]
Declare the dependency of RV10/RV20 encoder on the H.263 encoder in configure.

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

15 years agoAdd a Changelog entry for noX handling for OPT_BOOL X.
Benoit Fouet [Wed, 5 Aug 2009 06:14:39 +0000 (06:14 +0000)]
Add a Changelog entry for noX handling for OPT_BOOL X.

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

15 years agocosmetics: move fixed_coeffs into the aligned arrays comment group
Justin Ruggles [Wed, 5 Aug 2009 02:37:49 +0000 (02:37 +0000)]
cosmetics: move fixed_coeffs into the aligned arrays comment group

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

15 years agocosmetics: reindent after last commit
Justin Ruggles [Wed, 5 Aug 2009 02:31:13 +0000 (02:31 +0000)]
cosmetics: reindent after last commit

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

15 years agoac3dec: simplify zero-bit mantissa dithering by calculating it
Justin Ruggles [Wed, 5 Aug 2009 02:30:34 +0000 (02:30 +0000)]
ac3dec: simplify zero-bit mantissa dithering by calculating it
conditionally during mantissa decoding, then only removing it from the
coupling range for coupled channels which do not use dithering.

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

15 years agocosmetics: indentation and line wrap
Justin Ruggles [Wed, 5 Aug 2009 01:58:28 +0000 (01:58 +0000)]
cosmetics: indentation and line wrap

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

15 years agocosmetics after last commit
Justin Ruggles [Wed, 5 Aug 2009 01:14:28 +0000 (01:14 +0000)]
cosmetics after last commit

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

15 years agoModify decode_band_structure() so that the actual band structure is only
Justin Ruggles [Wed, 5 Aug 2009 01:13:42 +0000 (01:13 +0000)]
Modify decode_band_structure() so that the actual band structure is only
used within the function.  This removes the need to have the coupling band
structure stored in the AC3DecodeContext.

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

15 years agoUse coupling band sizes instead of coupling band structure when
Justin Ruggles [Wed, 5 Aug 2009 01:00:41 +0000 (01:00 +0000)]
Use coupling band sizes instead of coupling band structure when
calculating coupling transform coefficients.

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

15 years agoParse frame size code, see "svq3.c: parse frame size" thread on ML.
Ronald S. Bultje [Tue, 4 Aug 2009 21:55:47 +0000 (21:55 +0000)]
Parse frame size code, see "svq3.c: parse frame size" thread on ML.

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

15 years agoMake me maintainer of rtp_asf.*
Ronald S. Bultje [Tue, 4 Aug 2009 21:43:53 +0000 (21:43 +0000)]
Make me maintainer of rtp_asf.*

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

15 years agoMake 'stats' a bool option again.
Benoit Fouet [Tue, 4 Aug 2009 09:26:33 +0000 (09:26 +0000)]
Make 'stats' a bool option again.
To disable stats, use -nostats option.

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

15 years agoUpdate x264 asm code to latest to add support for 64-bit Windows.
John Adcock [Tue, 4 Aug 2009 07:42:55 +0000 (07:42 +0000)]
Update x264 asm code to latest to add support for 64-bit Windows.
Use the new x86inc features to support 64-bit Windows on all non-x264 nasm
assembly code as well.
Patch by John Adcock, dscaler.johnad AT googlemail DOT com.
Win64 changes originally by Anton Mitrofanov.
x86util changes mostly by Holger Lubitz.

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

15 years agoSplit RV10 encoder off into its own file.
Diego Biurrun [Mon, 3 Aug 2009 23:22:46 +0000 (23:22 +0000)]
Split RV10 encoder off into its own file.

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

15 years agoSplit RV20 encoder into its own file.
Diego Biurrun [Mon, 3 Aug 2009 23:07:08 +0000 (23:07 +0000)]
Split RV20 encoder into its own file.

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

15 years agocosmetics: add more detailed information to the documentation for
Justin Ruggles [Mon, 3 Aug 2009 22:05:31 +0000 (22:05 +0000)]
cosmetics: add more detailed information to the documentation for
decode_band_structure().

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

15 years agoCosmetic: Reindent after last commit
Jeff Downs [Mon, 3 Aug 2009 17:55:02 +0000 (17:55 +0000)]
Cosmetic: Reindent after last commit

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

15 years agoRevert r18344. Fixes at least issue 1218, 1221, and 1187), see master
Jeff Downs [Mon, 3 Aug 2009 17:54:11 +0000 (17:54 +0000)]
Revert r18344.  Fixes at least issue 1218, 1221, and 1187), see master
issue 1221 for details.
Briefly, out of bounds field mvs in field pictures would cause a crash.

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

15 years agoCorrect the sign of the arithmetic in ff_celp_lp_zero_synthesis_filterf()
Colin McQuillan [Mon, 3 Aug 2009 17:15:01 +0000 (17:15 +0000)]
Correct the sign of the arithmetic in ff_celp_lp_zero_synthesis_filterf()

Patch by Colin McQuillan ( m.niloc googlemail com )

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

15 years agoMove AVCodec declarations for RV10/20 from mpegvideo_enc.c to rv10.c.
Diego Biurrun [Mon, 3 Aug 2009 15:23:53 +0000 (15:23 +0000)]
Move AVCodec declarations for RV10/20 from mpegvideo_enc.c to rv10.c.
It is better to keep the declarations in conditionally compiled places.

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

15 years agoHandle noX for OPT_BOOL X.
Benoit Fouet [Mon, 3 Aug 2009 09:24:39 +0000 (09:24 +0000)]
Handle noX for OPT_BOOL X.

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

15 years agoExpose QCELP's floating-point LSP-to-LPC function
Colin McQuillan [Mon, 3 Aug 2009 08:37:02 +0000 (08:37 +0000)]
Expose QCELP's floating-point LSP-to-LPC function
qcelp_lsp exported a single function, ff_acelp_lspd2lpc, which was not
specific to qcelp. It can be kept with its fixed-point version
ff_acelp_lsp2lpc in lpc.c.

Patch by Colin McQuillan ( m.niloc googlemail com )

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

15 years agoMake the LSP naming more consistent
Colin McQuillan [Mon, 3 Aug 2009 08:31:20 +0000 (08:31 +0000)]
Make the LSP naming more consistent
Use the convention from lsp.c: an LSF is a frequency, an LSP is the
cosine of an LSF, and LSP functions should have an ff_acelp prefix.
Use a "d" suffix to specify doubles.

Patch by Colin McQuillan ( m.niloc googlemail com )

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

15 years agoReplace 5 with AOT_SBR when referring to the MPEG-4 audio object type.
Justin Ruggles [Mon, 3 Aug 2009 02:09:23 +0000 (02:09 +0000)]
Replace 5 with AOT_SBR when referring to the MPEG-4 audio object type.

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

15 years agoUse enums instead of int.
Ramiro Polla [Sun, 2 Aug 2009 17:42:40 +0000 (17:42 +0000)]
Use enums instead of int.

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

15 years agovfwcap: Move vfw_read_close to avoid forward declaration.
Diego Biurrun [Sun, 2 Aug 2009 17:39:10 +0000 (17:39 +0000)]
vfwcap: Move vfw_read_close to avoid forward declaration.
Patch by Diego.

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

15 years agoRemove commented-out cruft.
Diego Biurrun [Sun, 2 Aug 2009 15:10:03 +0000 (15:10 +0000)]
Remove commented-out cruft.

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

15 years agoMake XVMC mpegvideo decoder depend on mpegvideo decoder.
Diego Biurrun [Sun, 2 Aug 2009 14:47:26 +0000 (14:47 +0000)]
Make XVMC mpegvideo decoder depend on mpegvideo decoder.
It makes no sense to enable the former without the latter.

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

15 years agocosmetics: K&R coding style, prettyprinting
Diego Biurrun [Sun, 2 Aug 2009 13:35:42 +0000 (13:35 +0000)]
cosmetics: K&R coding style, prettyprinting

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

15 years agoadd approved hunks of the wmapro decoder
Sascha Sommer [Sun, 2 Aug 2009 12:57:07 +0000 (12:57 +0000)]
add approved hunks of the wmapro decoder

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

15 years agocosmetics: K&R coding style
Diego Biurrun [Sun, 2 Aug 2009 10:50:59 +0000 (10:50 +0000)]
cosmetics: K&R coding style

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

15 years agocosmetics: K&R coding style
Diego Biurrun [Sun, 2 Aug 2009 10:34:30 +0000 (10:34 +0000)]
cosmetics: K&R coding style

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

15 years agocosmetics, reindent
Baptiste Coudurier [Sun, 2 Aug 2009 08:47:02 +0000 (08:47 +0000)]
cosmetics, reindent

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

15 years agocosmetics, reindent
Baptiste Coudurier [Sun, 2 Aug 2009 08:46:43 +0000 (08:46 +0000)]
cosmetics, reindent

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

15 years agofix jpeg parser when PARSER_FLAG_COMPLETE_FRAMES is set
Baptiste Coudurier [Sun, 2 Aug 2009 08:46:11 +0000 (08:46 +0000)]
fix jpeg parser when PARSER_FLAG_COMPLETE_FRAMES is set

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

15 years agoFix regression when converting to nv12/nv21.
Guennadi Liakhovetski [Sat, 1 Aug 2009 21:30:36 +0000 (21:30 +0000)]
Fix regression when converting to nv12/nv21.

Patch by Guennadi Liakhovetski,  g D liakhovetski A gmx D de

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

15 years agoRTMP needs tcp_protocol
Måns Rullgård [Fri, 31 Jul 2009 07:40:35 +0000 (07:40 +0000)]
RTMP needs tcp_protocol

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

15 years agoRTMP protocol support (as a client)
Kostya Shishkov [Fri, 31 Jul 2009 06:49:36 +0000 (06:49 +0000)]
RTMP protocol support (as a client)

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

15 years agoMake av_always_inline a no-op when --disable-optimizations is supplied to
Jeff Downs [Thu, 30 Jul 2009 22:41:05 +0000 (22:41 +0000)]
Make av_always_inline a no-op when --disable-optimizations is supplied to
configure

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

15 years agoIncrease audio queue size in FFplay so files with big audio/video delay
Baptiste Coudurier [Thu, 30 Jul 2009 22:19:45 +0000 (22:19 +0000)]
Increase audio queue size in FFplay so files with big audio/video delay
like mov can play nicely.

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

15 years agoRevert addition of '#undef av_always_inline' to config.h in the small case.
Diego Biurrun [Thu, 30 Jul 2009 21:58:43 +0000 (21:58 +0000)]
Revert addition of '#undef av_always_inline' to config.h in the small case.
Instead, #include config.h at the top of common.h so that av_always_inline
does not get doubly defined.

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

15 years agoDisplay stats by default in FFplay and increase refresh time.
Baptiste Coudurier [Thu, 30 Jul 2009 21:54:50 +0000 (21:54 +0000)]
Display stats by default in FFplay and increase refresh time.
Change -stats cli option to take int, so stats can be disabled.

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

15 years agoMark conditionally used variable T2 as av_unused; avoids the warning:
Diego Biurrun [Thu, 30 Jul 2009 21:21:30 +0000 (21:21 +0000)]
Mark conditionally used variable T2 as av_unused; avoids the warning:
libavutil/sha.c:183: warning: unused variable `T2'

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

15 years agoChange av_log() calls surrounded by '#ifdef DEBUG' into dprintf macros.
Diego Biurrun [Thu, 30 Jul 2009 21:00:08 +0000 (21:00 +0000)]
Change av_log() calls surrounded by '#ifdef DEBUG' into dprintf macros.

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

15 years agoRemove unused debug av_log() calls.
Diego Biurrun [Thu, 30 Jul 2009 20:57:41 +0000 (20:57 +0000)]
Remove unused debug av_log() calls.

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

15 years agoUndefine av_always_inline before setting it to an empty value.
Jeff Downs [Thu, 30 Jul 2009 20:28:07 +0000 (20:28 +0000)]
Undefine av_always_inline before setting it to an empty value.
This avoids a ton of redefinition warnings.
patch by Jeff Downs, heydowns borg com

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

15 years agocosmetics, remove spaces after '(' and before ')'
Baptiste Coudurier [Thu, 30 Jul 2009 19:14:57 +0000 (19:14 +0000)]
cosmetics, remove spaces after '(' and before ')'

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

15 years agoinit pes dts and pts to AV_NOPTS_VALUE, fix issue #1297
Baptiste Coudurier [Thu, 30 Jul 2009 18:29:06 +0000 (18:29 +0000)]
init pes dts and pts to AV_NOPTS_VALUE, fix issue #1297

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

15 years agovfwcap: Indent.
Ramiro Polla [Thu, 30 Jul 2009 17:31:28 +0000 (17:31 +0000)]
vfwcap: Indent.

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

15 years agovfwcap: Support compressed streams.
Ramiro Polla [Thu, 30 Jul 2009 17:29:24 +0000 (17:29 +0000)]
vfwcap: Support compressed streams.

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

15 years agovfwcap: Reorder some code to simplify next patch.
Ramiro Polla [Thu, 30 Jul 2009 17:25:15 +0000 (17:25 +0000)]
vfwcap: Reorder some code to simplify next patch.

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

15 years agovfwcap: Return PIX_FMT_NONE instead of -1 on error.
Ramiro Polla [Thu, 30 Jul 2009 16:18:33 +0000 (16:18 +0000)]
vfwcap: Return PIX_FMT_NONE instead of -1 on error.

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

15 years agovfwcap: Update error message:
Ramiro Polla [Thu, 30 Jul 2009 16:16:43 +0000 (16:16 +0000)]
vfwcap: Update error message:
- Verbose debug information is at max -v 9 now;
- Add an empty space for readability.

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

15 years agoRemove old_flags variable, which is a duplicate of the flags variable.
Ronald S. Bultje [Thu, 30 Jul 2009 15:05:33 +0000 (15:05 +0000)]
Remove old_flags variable, which is a duplicate of the flags variable.

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

15 years agoDon't use a pointer-to-flags/timestamp in ff_rm_parse_packet(); the function
Ronald S. Bultje [Thu, 30 Jul 2009 15:04:19 +0000 (15:04 +0000)]
Don't use a pointer-to-flags/timestamp in ff_rm_parse_packet(); the function
used to return packet data, which might update the flags/timestamp to be
used for the next packet data returned by the demuxer. However, that was
separated out into a new function, and the flags/timestamp are thus never
updated within ff_rm_parse_packet() anymore, and thus do not need to be
a pointer.

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

15 years agoreturn EOF in image2 demuxer
Baptiste Coudurier [Thu, 30 Jul 2009 08:21:11 +0000 (08:21 +0000)]
return EOF in image2 demuxer

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

15 years agoRemove unused variable intra_count.
Diego Biurrun [Thu, 30 Jul 2009 07:33:16 +0000 (07:33 +0000)]
Remove unused variable intra_count.

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

15 years agoPPC: fix asm operand constraints in AV_RL64
Måns Rullgård [Wed, 29 Jul 2009 19:06:55 +0000 (19:06 +0000)]
PPC: fix asm operand constraints in AV_RL64

The target register of first word loaded must be marked early-clobber.

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

15 years agoRemove pointless '#ifdef DEBUG' around dprintf macro.
Diego Biurrun [Wed, 29 Jul 2009 17:12:47 +0000 (17:12 +0000)]
Remove pointless '#ifdef DEBUG' around dprintf macro.

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

15 years agoOnly enable WMV3 decoder when it has been turned on in the build system.
Diego Biurrun [Wed, 29 Jul 2009 11:31:52 +0000 (11:31 +0000)]
Only enable WMV3 decoder when it has been turned on in the build system.

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

15 years agoDo not check for both CONFIG_VC1_DECODER and CONFIG_WMV3_DECODER,
Diego Biurrun [Wed, 29 Jul 2009 09:54:49 +0000 (09:54 +0000)]
Do not check for both CONFIG_VC1_DECODER and CONFIG_WMV3_DECODER,
the former depends upon the latter.

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

15 years agoDo not check for both CONFIG_VC1_VDPAU_DECODER and CONFIG_WMV3_VDPAU_DECODER,
Diego Biurrun [Wed, 29 Jul 2009 09:54:00 +0000 (09:54 +0000)]
Do not check for both CONFIG_VC1_VDPAU_DECODER and CONFIG_WMV3_VDPAU_DECODER,
the former depends upon the latter.

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

15 years agoDo not check for CONFIG_VC1_VAAPI_HWACCEL, the file is only
Diego Biurrun [Wed, 29 Jul 2009 09:51:51 +0000 (09:51 +0000)]
Do not check for CONFIG_VC1_VAAPI_HWACCEL, the file is only
compiled if that condition is true.

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

15 years agoStop parsing in read_header only after finding pmt, and
Baptiste Coudurier [Wed, 29 Jul 2009 02:17:08 +0000 (02:17 +0000)]
Stop parsing in read_header only after finding pmt, and
do not close pat filter so further pmt can be parsed.
Fix issue #1294.

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

15 years agorename freq to period which is more correct, patch by Niobos, niobos dot be at gmail...
Niobos [Tue, 28 Jul 2009 17:51:12 +0000 (17:51 +0000)]
rename freq to period which is more correct, patch by Niobos, niobos dot be at gmail dot com

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

15 years agoUse dprintf() instead of '#ifdef DEBUG' and av_log().
Diego Biurrun [Tue, 28 Jul 2009 12:50:32 +0000 (12:50 +0000)]
Use dprintf() instead of '#ifdef DEBUG' and av_log().

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

15 years agoReplace BUILD_{SHARED,STATIC} with CONFIG_ counterparts
Måns Rullgård [Tue, 28 Jul 2009 08:58:48 +0000 (08:58 +0000)]
Replace BUILD_{SHARED,STATIC} with CONFIG_ counterparts

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

15 years agoEnable PIC unconditionally on OpenBSD
Måns Rullgård [Tue, 28 Jul 2009 08:58:42 +0000 (08:58 +0000)]
Enable PIC unconditionally on OpenBSD

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

15 years agoconfigure: always write PIC flags to config.mak
Måns Rullgård [Tue, 28 Jul 2009 08:58:36 +0000 (08:58 +0000)]
configure: always write PIC flags to config.mak

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

15 years agoconfigure: enable PIC in per-arch section instead of separately
Måns Rullgård [Tue, 28 Jul 2009 08:58:33 +0000 (08:58 +0000)]
configure: enable PIC in per-arch section instead of separately

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

15 years agoFix typo in MinGWCE support in configure.
Martin Storsjö [Tue, 28 Jul 2009 08:50:58 +0000 (08:50 +0000)]
Fix typo in MinGWCE support in configure.
Patch by Martin Storsjö and Måns.

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

15 years agoMMX2 scaler: Remove {} block leftover from factorization in initMMX2Scaler().
Ramiro Polla [Tue, 28 Jul 2009 05:45:47 +0000 (05:45 +0000)]
MMX2 scaler: Remove {} block leftover from factorization in initMMX2Scaler().
Merge variable declarations to previous {} block and indent.

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

15 years agoMMX2 scaler: factorize initMMX2Scaler().
Ramiro Polla [Tue, 28 Jul 2009 05:42:46 +0000 (05:42 +0000)]
MMX2 scaler: factorize initMMX2Scaler().

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

15 years agoMMX2 scaler: add variable to ease factorization of initMMX2Scaler().
Ramiro Polla [Tue, 28 Jul 2009 05:41:22 +0000 (05:41 +0000)]
MMX2 scaler: add variable to ease factorization of initMMX2Scaler().

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

15 years agoIndent.
Ramiro Polla [Tue, 28 Jul 2009 05:14:47 +0000 (05:14 +0000)]
Indent.

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