Commit Graph

20382 Commits

Author SHA1 Message Date
Jeff Downs ca6493ab40 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
2009-08-03 17:54:11 +00:00
Colin McQuillan d5652f38fb 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
2009-08-03 17:15:01 +00:00
Diego Biurrun f7e1353523 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
2009-08-03 15:23:53 +00:00
Benoit Fouet b1d6e5e8ad Handle noX for OPT_BOOL X.
Originally committed as revision 19572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-03 09:24:39 +00:00
Colin McQuillan 33ae681f5c 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
2009-08-03 08:37:02 +00:00
Colin McQuillan 1e1e02eacd 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
2009-08-03 08:31:20 +00:00
Justin Ruggles b5fe06abf0 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
2009-08-03 02:09:23 +00:00
Ramiro Polla c15508dc93 Use enums instead of int.
Originally committed as revision 19568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-02 17:42:40 +00:00
Diego Biurrun c959c6ee3d vfwcap: Move vfw_read_close to avoid forward declaration.
Patch by Diego.

Originally committed as revision 19567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-02 17:39:10 +00:00
Diego Biurrun e4d65ba590 Remove commented-out cruft.
Originally committed as revision 19566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-02 15:10:03 +00:00
Diego Biurrun 4d8eecf475 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
2009-08-02 14:47:26 +00:00
Diego Biurrun b25a881851 cosmetics: K&R coding style, prettyprinting
Originally committed as revision 19564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-02 13:35:42 +00:00
Sascha Sommer da136c7e05 add approved hunks of the wmapro decoder
Originally committed as revision 19563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-02 12:57:07 +00:00
Diego Biurrun 577d383b0c cosmetics: K&R coding style
Originally committed as revision 19562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-02 10:50:59 +00:00
Diego Biurrun 954489244e cosmetics: K&R coding style
Originally committed as revision 19561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-02 10:34:30 +00:00
Baptiste Coudurier 6b620372a8 cosmetics, reindent
Originally committed as revision 19560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-02 08:47:02 +00:00
Baptiste Coudurier ee5b26f5ff cosmetics, reindent
Originally committed as revision 19559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-02 08:46:43 +00:00
Baptiste Coudurier 4546bf4116 fix jpeg parser when PARSER_FLAG_COMPLETE_FRAMES is set
Originally committed as revision 19558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-02 08:46:11 +00:00
Guennadi Liakhovetski 062394e07c 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
2009-08-01 21:30:36 +00:00
Måns Rullgård cbf298899d RTMP needs tcp_protocol
Originally committed as revision 19557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-31 07:40:35 +00:00
Kostya Shishkov 9fd6b84360 RTMP protocol support (as a client)
Originally committed as revision 19556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-31 06:49:36 +00:00
Jeff Downs abbe30ad89 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
2009-07-30 22:41:05 +00:00
Baptiste Coudurier 9ebdf3ec93 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
2009-07-30 22:19:45 +00:00
Diego Biurrun 75af07495a 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
2009-07-30 21:58:43 +00:00
Baptiste Coudurier 1e1a0b1845 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
2009-07-30 21:54:50 +00:00
Diego Biurrun 8b4e7c28fb 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
2009-07-30 21:21:30 +00:00
Diego Biurrun 8b44de14d1 Change av_log() calls surrounded by '#ifdef DEBUG' into dprintf macros.
Originally committed as revision 19550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-30 21:00:08 +00:00
Diego Biurrun 7881793dd0 Remove unused debug av_log() calls.
Originally committed as revision 19549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-30 20:57:41 +00:00
Jeff Downs e12e2848a3 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
2009-07-30 20:28:07 +00:00
Baptiste Coudurier 46c9eb57d0 cosmetics, remove spaces after '(' and before ')'
Originally committed as revision 19547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-30 19:14:57 +00:00
Baptiste Coudurier 0fd7cf116b init pes dts and pts to AV_NOPTS_VALUE, fix issue #1297
Originally committed as revision 19546 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-30 18:29:06 +00:00
Ramiro Polla 155b0f00d4 vfwcap: Indent.
Originally committed as revision 19545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-30 17:31:28 +00:00
Ramiro Polla 1c0b9215ac vfwcap: Support compressed streams.
Originally committed as revision 19544 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-30 17:29:24 +00:00
Ramiro Polla 42477de59e vfwcap: Reorder some code to simplify next patch.
Originally committed as revision 19543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-30 17:25:15 +00:00
Ramiro Polla d40b45e8b0 vfwcap: Return PIX_FMT_NONE instead of -1 on error.
Originally committed as revision 19542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-30 16:18:33 +00:00
Ramiro Polla 189230ad67 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
2009-07-30 16:16:43 +00:00
Ronald S. Bultje 7a4a64e7ab Remove old_flags variable, which is a duplicate of the flags variable.
Originally committed as revision 19540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-30 15:05:33 +00:00
Ronald S. Bultje 34bddc39b4 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
2009-07-30 15:04:19 +00:00
Baptiste Coudurier e4b8d05d47 return EOF in image2 demuxer
Originally committed as revision 19538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-30 08:21:11 +00:00
Diego Biurrun 07fd17823f Remove unused variable intra_count.
Originally committed as revision 19537 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-30 07:33:16 +00:00
Måns Rullgård b6ec1f47c7 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
2009-07-29 19:06:55 +00:00
Diego Biurrun 18b55f639a Remove pointless '#ifdef DEBUG' around dprintf macro.
Originally committed as revision 19535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-29 17:12:47 +00:00
Diego Biurrun 700363afe7 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
2009-07-29 11:31:52 +00:00
Diego Biurrun 9be6f0d2f8 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
2009-07-29 09:54:49 +00:00
Diego Biurrun e0f58e39c4 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
2009-07-29 09:54:00 +00:00
Diego Biurrun fe3608d577 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
2009-07-29 09:51:51 +00:00
Baptiste Coudurier d46c84ea31 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
2009-07-29 02:17:08 +00:00
Niobos 1aae34890c 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
2009-07-28 17:51:12 +00:00
Diego Biurrun ff736f84e2 Use dprintf() instead of '#ifdef DEBUG' and av_log().
Originally committed as revision 19528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-28 12:50:32 +00:00
Måns Rullgård bea81a52c9 Replace BUILD_{SHARED,STATIC} with CONFIG_ counterparts
Originally committed as revision 19527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-28 08:58:48 +00:00