Commit Graph

19570 Commits

Author SHA1 Message Date
Benjamin Larsson 841b45e55d Remove dead nested assignment found by CSA
Originally committed as revision 18784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-10 14:44:09 +00:00
Benjamin Larsson 0871e65cf6 Remove unused code found by CSA
Originally committed as revision 18783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-10 14:33:40 +00:00
Diego Biurrun 0020c54cb8 Add const qualifier to param argument of sws_getContext() and
sws_getCachedContext().  Fixes the warning:
swscale.c:3408: warning: assignment discards qualifiers from pointer target type

Originally committed as revision 29288 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-05-10 14:00:00 +00:00
Diego Biurrun 465477e1fb Move preprocessor condition before variable declaration, fixes the warning:
libswscale/swscale.c:1795: warning: unused variable 'flags'

Originally committed as revision 29287 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-05-10 11:37:04 +00:00
Baptiste Coudurier b69017af87 ensure first pts is set, according to specs
Originally committed as revision 18781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-10 01:57:21 +00:00
Baptiste Coudurier 1e8857882b remove useless max_payload_size variable
Originally committed as revision 18780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-10 01:41:35 +00:00
Baptiste Coudurier 8f14cdee73 do not write dts if pts is not set
Originally committed as revision 18779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-10 01:37:58 +00:00
Baptiste Coudurier 31df40a130 fix total bitrate computation, based on patch by corp186, chasedouglas at gmail dot com
Originally committed as revision 18778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-10 01:02:18 +00:00
Baptiste Coudurier 7574dc4c37 update comment for rgb 16 bit in .mov
Originally committed as revision 18777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-10 00:53:02 +00:00
Stefano Sabatini 7a79e51cd6 Add @code/@endcode commands to markup C code in av_tree_insert() doxy.
Originally committed as revision 18776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-09 23:02:20 +00:00
Stefano Sabatini 9c5a4ea28c Add missing '*' to av_tree_insert() doxy.
Originally committed as revision 18775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-09 23:00:46 +00:00
Diego Biurrun f8c0692d8e Add necessary header for CONFIG_RUNTIME_CPUDETECT preprocessor definition.
Originally committed as revision 18774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-09 12:26:05 +00:00
Diego Biurrun f1933e436c Add missing const qualifiers to AltiVec function parameters where appropriate.
Fixes a couple of 'discards qualifiers from pointer target type' warnings.

Originally committed as revision 29281 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-05-09 10:56:37 +00:00
Daniel Verkamp 10ce919561 data parameter of dnxhd_encode_picture() should not be const.
Fixes "dnxhdenc.c:805: warning: initialization from incompatible pointer type".
patch by Daniel Verkamp, daniel drv nu

Originally committed as revision 18773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-08 19:41:21 +00:00
Vitor Sessak b755a754d1 "[" is a terminating char for the filter name. This fixes the parsing of
things like

[in] vflip [out];

Originally committed as revision 18772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-08 19:14:21 +00:00
Michael Niedermayer 9a3eaeebad Correct x/ymin to avoid segfault due to out of picture reads.
Originally committed as revision 18771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-08 15:14:36 +00:00
Vitor Sessak 5f9ae1983d Fix sliced yuv410 -> yuv420 conversion
Originally committed as revision 29272 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-05-07 20:41:04 +00:00
Daniel Verkamp fc430e8fab Warning fix: Make ogg_stream.codec const
This matches the return value of ogg_find_codec and fixes
"libavformat/oggdec.c:333: warning: assignment discards qualifiers from
pointer target type"

Patch by Daniel Verkamp (daniel - drv . nu)

Originally committed as revision 18769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-06 23:02:26 +00:00
Daniel Verkamp cf6bae6883 Change codec_id type to enum CodecID, fix warning.
Patch by Daniel Verkamp daniel @ drv @ nu.

Originally committed as revision 18768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-06 22:38:21 +00:00
Daniel Verkamp f0b19bd3db Update docs after the 8088flex TMV demuxer and decoder addition.
Patch by Daniel Verkamp daniel AT drv + nu.

Originally committed as revision 18767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-06 22:06:19 +00:00
Daniel Verkamp 7c7d3e09f6 Add 8088flex TMV file demuxer.
Patch by Daniel Verkamp daniel|at|drv|nu.

Originally committed as revision 18766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-06 22:01:54 +00:00
Daniel Verkamp a1fd2bc350 Add 8088flex TMV video decoder.
Patch by Daniel Verkamp name at drv ... nu.

Originally committed as revision 18765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-06 21:57:20 +00:00
Daniel Verkamp 89cb5cd25d Add CGA and palette data for 8088flex TMV decoder.
Patch by Daniel Verkamp  daniel _AT_ drv DOT nu.

Originally committed as revision 18764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-06 21:51:58 +00:00
Ramiro Polla e282272667 mlpdec: Fix possible writing out of array bounds introduced by being
under-paranoid in r18651.

Originally committed as revision 18763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-06 16:01:28 +00:00
Ramiro Polla e8d341ce19 mlpdec: Split sync word error and MLP sync word check.
The previous code would print the wrong error message for MLP streams with
TrueHD noise type.

Originally committed as revision 18762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-06 15:46:10 +00:00
Ramiro Polla aff42ee0ff mlpdec: Fix indentation that got mangled from copy&paste.
Originally committed as revision 18761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-06 15:37:25 +00:00
Ramiro Polla 4fa61d1e98 Accept "bikeshed" as a random color.
Originally committed as revision 18758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-06 15:25:30 +00:00
Kostya Shishkov 512cfd9d54 Add 32-bit RGB support to TIFF decoder and extend a bit 'unsupported format' message
Originally committed as revision 18755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-06 06:49:04 +00:00
Laurent Aimar 992f7db060 Add floating point audio decoding to WavPack decoder.
Patch by Laurent Aimar (fenrir at `antonym of 'audio'+antonym of 'WAN'` dot org)

Originally committed as revision 18754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-06 05:40:43 +00:00
Laurent Aimar cabb81113a Prepare WavPack decoder to support floating point output.
Patch by Laurent Aimar (f-e-n-r-i-r .@.t. v=i=d=e=o=l=a=n .d.o.t. o=r=g)

Originally committed as revision 18753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-06 05:28:06 +00:00
Justin Ruggles 778bc09bbe cosmetics: line wrap and vertical alignment
Originally committed as revision 18752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-06 01:48:14 +00:00
Justin Ruggles 396b73c7f7 ac3dec: Remove unneeded context variable, num_cpl_subbands. It is also
not needed for spectral extension or enhanced coupling since it is
redundant information, so I am removing it from decode_band_structure()
as well.

Originally committed as revision 18751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-06 01:47:34 +00:00
Justin Ruggles 52dc3fc83d cosmetics: indentation after last commit
Originally committed as revision 18750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-05 23:39:10 +00:00
Justin Ruggles 13ec942869 ac3dec: move channel remapping to outside of block loop
Originally committed as revision 18749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-05 23:38:12 +00:00
Stefano Sabatini a3015225c7 Implement av_parse_color().
Originally committed as revision 18748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-05 22:10:06 +00:00
Michael Niedermayer 9c24cd7236 Extract colorspace fields from MPEG1/2.
Originally committed as revision 18747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-05 19:53:49 +00:00
Måns Rullgård 1e24f1b25d mpegaudio: enclose SUM8() macro args in parens when used
Originally committed as revision 18746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-05 18:44:13 +00:00
Måns Rullgård bf030c887f mpegaudio: avoid unnecessary copy in high-precision mode
Originally committed as revision 18745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-05 18:44:10 +00:00
Måns Rullgård adb206c238 mpegaudio: use av_clip()
Originally committed as revision 18744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-05 18:44:07 +00:00
Michael Niedermayer 4ee6a5c161 Add colorspace fields to AVCodecContext.
Originally committed as revision 18743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-05 18:25:20 +00:00
Carl Eugen Hoyos ee273f98e8 Cosmetics: Fix indentation after r18741.
Originally committed as revision 18742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-05 15:48:04 +00:00
Michael Niedermayer 266c1d901f Do not discard mp3 frames in the parser after a broken frame.
Fixes issue1044.
This may cause regressions with broken streams, if you find any, please report!

Originally committed as revision 18741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-05 13:46:50 +00:00
Laurent Aimar 3cb088868c Factorize out integer sample value decoding for WavPack.
This is slightly modified patch by Laurent Aimar.

Originally committed as revision 18740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-05 06:10:59 +00:00
Baptiste Coudurier c20a305bca dvh1 avi fourcc, dvh1_sample_truncated.avi, issue #1034
Originally committed as revision 18739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-05 04:30:08 +00:00
Baptiste Coudurier c239a65b70 more dvcprohd .mov fourcc, see #1034
Originally committed as revision 18738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-05 04:27:24 +00:00
Michael Niedermayer 9507d91150 Change VOFW for x86 to 5120, it allows larger images to be scaled and was
not slower. Other archs are not changed as the larger VOFW was slower on PPC.

Originally committed as revision 29256 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-05-05 01:34:16 +00:00
Måns Rullgård 3737dd1cd3 PPC: implement MULH() in assembler
Left to its own devices, gcc calculates the full 64-bit product only to
discard the low 32 bits.  This forces it to do the right thing.

20% faster MP3 decoding on G4.

Originally committed as revision 18737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-04 17:31:15 +00:00
Zdenek Kabelac e2fa5cf4c9 Do not scan for MP3 header after the given buffer and return skipped
bytes along with consumed bytes on successful decoding.
patch by Zdenek Kabelac, zdenek.kabelac gmail com

Originally committed as revision 18736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-04 14:23:48 +00:00
Diego Biurrun c7279693ae Add note about nonfree license of libfaac.
Originally committed as revision 18735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-04 11:37:25 +00:00
Kenan Gillet 5b05059d2d Properly handle SILENCE frame. Patch by Kenan Gillet.
Originally committed as revision 18734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-04 03:25:57 +00:00