ffmpeg.git
9 years agoRename COPYING.GPL --> COPYING.GPLv2 and COPYING.LGPL --> COPYING.LGPLv2.1.
Diego Biurrun [Fri, 5 Jun 2009 09:51:31 +0000 (09:51 +0000)]
Rename COPYING.GPL --> COPYING.GPLv2 and COPYING.LGPL --> COPYING.LGPLv2.1.
This is in preparation for the (L)GPL license upgrade code that will add
version 3 of these licenses.

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

9 years agovmware video decoder uses reget_buffer, set CODEC_CAP_DR1
Baptiste Coudurier [Fri, 5 Jun 2009 09:05:17 +0000 (09:05 +0000)]
vmware video decoder uses reget_buffer, set CODEC_CAP_DR1

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

9 years agozmbv decoder uses get_buffer, set CODEC_CAP_DR1
Baptiste Coudurier [Fri, 5 Jun 2009 09:02:14 +0000 (09:02 +0000)]
zmbv decoder uses get_buffer, set CODEC_CAP_DR1

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

9 years agovc1 and wmv3 decoders use MPV_frame_start which uses get_buffer, set CODEC_CAP_DR1
Baptiste Coudurier [Fri, 5 Jun 2009 08:53:39 +0000 (08:53 +0000)]
vc1 and wmv3 decoders use MPV_frame_start which uses get_buffer, set CODEC_CAP_DR1

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

9 years agorenderware txd image decoder uses get_buffer, set CODEC_CAP_DR1
Baptiste Coudurier [Fri, 5 Jun 2009 08:48:34 +0000 (08:48 +0000)]
renderware txd image decoder uses get_buffer, set CODEC_CAP_DR1

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

9 years agotmv decoder uses get_buffer, set CODEC_CAP_DR1
Baptiste Coudurier [Fri, 5 Jun 2009 08:47:39 +0000 (08:47 +0000)]
tmv decoder uses get_buffer, set CODEC_CAP_DR1

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

9 years agotiff image decoder uses get_buffer, set CODEC_CAP_DR1
Baptiste Coudurier [Fri, 5 Jun 2009 08:46:04 +0000 (08:46 +0000)]
tiff image decoder uses get_buffer, set CODEC_CAP_DR1

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

9 years agovp3 and theora decoders use get_buffer, set CODEC_CAP_DR1
Baptiste Coudurier [Fri, 5 Jun 2009 08:44:26 +0000 (08:44 +0000)]
vp3 and theora decoders use get_buffer, set CODEC_CAP_DR1

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

9 years agotarga image decoder uses get_buffer, set CODEC_CAP_DR1
Baptiste Coudurier [Fri, 5 Jun 2009 08:42:32 +0000 (08:42 +0000)]
targa image decoder uses get_buffer, set CODEC_CAP_DR1

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

9 years agosun rasterfile image decoder uses get_buffer, set CODEC_CAP_DR1
Baptiste Coudurier [Fri, 5 Jun 2009 08:41:19 +0000 (08:41 +0000)]
sun rasterfile image decoder uses get_buffer, set CODEC_CAP_DR1

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

9 years agosnow decoder uses get_buffer, set CODEC_CAP_DR1
Baptiste Coudurier [Fri, 5 Jun 2009 08:40:31 +0000 (08:40 +0000)]
snow decoder uses get_buffer, set CODEC_CAP_DR1

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

9 years agosmacker video decoder uses reget_buffer, set CODEC_CAP_DR1
Baptiste Coudurier [Fri, 5 Jun 2009 08:37:55 +0000 (08:37 +0000)]
smacker video decoder uses reget_buffer, set CODEC_CAP_DR1

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

9 years agokmvc decoder uses get_buffer, set CODEC_CAP_DR1
Baptiste Coudurier [Fri, 5 Jun 2009 08:36:26 +0000 (08:36 +0000)]
kmvc decoder uses get_buffer, set CODEC_CAP_DR1

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

9 years agoptx image decoder uses get_buffer, set CODEC_CAP_DR1
Baptiste Coudurier [Fri, 5 Jun 2009 08:35:36 +0000 (08:35 +0000)]
ptx image decoder uses get_buffer, set CODEC_CAP_DR1

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

9 years agolibopenjpeg wrapper uses get_buffer, set CODEC_CAP_DR1
Baptiste Coudurier [Fri, 5 Jun 2009 08:33:58 +0000 (08:33 +0000)]
libopenjpeg wrapper uses get_buffer, set CODEC_CAP_DR1

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

9 years agopng decoder use get_buffer, set CODEC_CAP_DR1
Baptiste Coudurier [Fri, 5 Jun 2009 08:32:41 +0000 (08:32 +0000)]
png decoder use get_buffer, set CODEC_CAP_DR1

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

9 years agopcx decoder use get_buffer, set CODEC_CAP_DR1
Baptiste Coudurier [Fri, 5 Jun 2009 08:29:29 +0000 (08:29 +0000)]
pcx decoder use get_buffer, set CODEC_CAP_DR1

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

9 years agopgm, pgmyuv, ppm, pbm and pam decoders use get_buffer, set CODEC_CAP_DR1
Baptiste Coudurier [Fri, 5 Jun 2009 08:29:05 +0000 (08:29 +0000)]
pgm, pgmyuv, ppm, pbm and pam decoders use get_buffer, set CODEC_CAP_DR1

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

9 years agodxa decoder uses get_buffer, set CODEC_CAP_DR1
Baptiste Coudurier [Fri, 5 Jun 2009 08:21:54 +0000 (08:21 +0000)]
dxa decoder uses get_buffer, set CODEC_CAP_DR1

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

9 years agobfi decoder uses get_buffer, set CODEC_CAP_DR1
Baptiste Coudurier [Fri, 5 Jun 2009 08:20:51 +0000 (08:20 +0000)]
bfi decoder uses get_buffer, set CODEC_CAP_DR1

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

9 years agobmp decoder uses get_buffer, set CODEC_CAP_DR1
Baptiste Coudurier [Fri, 5 Jun 2009 08:19:33 +0000 (08:19 +0000)]
bmp decoder uses get_buffer, set CODEC_CAP_DR1

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

9 years agoamv decoder uses get_buffer, set CODEC_CAP_DR1
Baptiste Coudurier [Fri, 5 Jun 2009 08:18:17 +0000 (08:18 +0000)]
amv decoder uses get_buffer, set CODEC_CAP_DR1

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

9 years agobethesda vid decoder uses reget_buffer, set CODEC_CAP_DR1
Baptiste Coudurier [Fri, 5 Jun 2009 08:17:36 +0000 (08:17 +0000)]
bethesda vid decoder uses reget_buffer, set CODEC_CAP_DR1

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

9 years ago4xm decoder uses get_buffer, set CODEC_CAP_DR1
Baptiste Coudurier [Fri, 5 Jun 2009 08:12:14 +0000 (08:12 +0000)]
4xm decoder uses get_buffer, set CODEC_CAP_DR1

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

9 years agoindeo3 decoder uses get_buffer, set CODEC_CAP_DR1
Baptiste Coudurier [Fri, 5 Jun 2009 08:08:49 +0000 (08:08 +0000)]
indeo3 decoder uses get_buffer, set CODEC_CAP_DR1

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

9 years agoReplace more uses of __attribute__((aligned)) by DECLARE_ALIGNED.
Ramiro Polla [Thu, 4 Jun 2009 23:25:09 +0000 (23:25 +0000)]
Replace more uses of __attribute__((aligned)) by DECLARE_ALIGNED.

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

9 years agoUse DECLARE_ALIGNED macro instead of __attribute__((aligned)) for ppc code.
Ramiro Polla [Thu, 4 Jun 2009 22:50:38 +0000 (22:50 +0000)]
Use DECLARE_ALIGNED macro instead of __attribute__((aligned)) for ppc code.

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

9 years agoReplace more uses of __attribute__((aligned)) by DECLARE_ALIGNED.
Ramiro Polla [Thu, 4 Jun 2009 22:10:52 +0000 (22:10 +0000)]
Replace more uses of __attribute__((aligned)) by DECLARE_ALIGNED.

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

9 years agoUse DECLARE_ALIGNED macro instead of gcc __attribute__.
Pavel Pavlov [Thu, 4 Jun 2009 21:55:52 +0000 (21:55 +0000)]
Use DECLARE_ALIGNED macro instead of gcc __attribute__.
Patch by Pavel Pavlov <pavel at summit-tech dot ca>

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

9 years agocosmetics: K&R style reformatting
Diego Biurrun [Thu, 4 Jun 2009 10:37:29 +0000 (10:37 +0000)]
cosmetics: K&R style reformatting

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

9 years agoMove function for reading whole specified amount of data from RTSP
Kostya Shishkov [Thu, 4 Jun 2009 06:25:53 +0000 (06:25 +0000)]
Move function for reading whole specified amount of data from RTSP
demuxer into more common place.

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

9 years agoUse fewer macros in x86-optimized mlpdsp.
Ramiro Polla [Wed, 3 Jun 2009 23:48:28 +0000 (23:48 +0000)]
Use fewer macros in x86-optimized mlpdsp.
Fixes compilation on 32-bit llvm which didn't allow a cast in an m operand.

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

9 years agoAdd the .adts file extension to the ADTS muxer.
Alex Converse [Wed, 3 Jun 2009 23:34:35 +0000 (23:34 +0000)]
Add the .adts file extension to the ADTS muxer.

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

9 years agobroken stsd length might be < 16, fix elst-assert.mp4
Baptiste Coudurier [Wed, 3 Jun 2009 23:13:53 +0000 (23:13 +0000)]
broken stsd length might be < 16, fix elst-assert.mp4

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

9 years agoChange find_tag return type to int64_t, fix a bug
Baptiste Coudurier [Wed, 3 Jun 2009 22:36:59 +0000 (22:36 +0000)]
Change find_tag return type to int64_t, fix a bug
where size is negative and url_fseek then seek backward
causing infinite loop. This also support 4gb unsigned size.

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

9 years agoFix sei_ct_type check so it does not mistreat ct_type= unknown.
Michael Niedermayer [Wed, 3 Jun 2009 19:24:51 +0000 (19:24 +0000)]
Fix sei_ct_type check so it does not mistreat ct_type= unknown.

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

9 years agoPrint ct_type and pic_struct.
Michael Niedermayer [Wed, 3 Jun 2009 19:23:34 +0000 (19:23 +0000)]
Print ct_type and pic_struct.

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

9 years agoAAC ADTS to AudioSpecificConfig bitstream filter
Alex Converse [Wed, 3 Jun 2009 18:50:46 +0000 (18:50 +0000)]
AAC ADTS to AudioSpecificConfig bitstream filter

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

9 years agoSet AV_PKT_FLAG_KEY in avcodec_decode_video.
Reimar Döffinger [Wed, 3 Jun 2009 11:23:16 +0000 (11:23 +0000)]
Set AV_PKT_FLAG_KEY in avcodec_decode_video.
This fixes decoding of MPNG, which currently is incorrectly decoded as
CorePNG delta frames.
CorePNG can not be correctly decoded via this old API either way.

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

9 years agoAdd AV_PKT_FLAG_KEY and deprecate PKT_FLAG_KEY.
Reimar Döffinger [Wed, 3 Jun 2009 11:20:35 +0000 (11:20 +0000)]
Add AV_PKT_FLAG_KEY and deprecate PKT_FLAG_KEY.

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

9 years agoClarify the input AVPacket for avcodec_decode*()
Michael Niedermayer [Wed, 3 Jun 2009 10:25:21 +0000 (10:25 +0000)]
Clarify the input AVPacket for avcodec_decode*()

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

9 years agoTesting RGB48 variants requires bigger stride in swscale-example.c
Kostya Shishkov [Tue, 2 Jun 2009 15:35:58 +0000 (15:35 +0000)]
Testing RGB48 variants requires bigger stride in swscale-example.c

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

9 years agoCheck combined depth and number of components in TIFF decoder, thus eliminating
Kostya Shishkov [Tue, 2 Jun 2009 15:31:51 +0000 (15:31 +0000)]
Check combined depth and number of components in TIFF decoder, thus eliminating
additional checks for each depth (like 48-bit gray vs. 48-bit RGB)

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

9 years agoYUV into RGB48 BE/LE conversion support
Kostya Shishkov [Tue, 2 Jun 2009 12:30:11 +0000 (12:30 +0000)]
YUV into RGB48 BE/LE conversion support

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

9 years agoPartial (low bits ignored, no direct transcoding into other RGB formats) support
Kostya Shishkov [Tue, 2 Jun 2009 12:28:49 +0000 (12:28 +0000)]
Partial (low bits ignored, no direct transcoding into other RGB formats) support
for inputting RGB48BE/LE.

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

9 years agodo not parse full header for private streams
Baptiste Coudurier [Tue, 2 Jun 2009 07:53:44 +0000 (07:53 +0000)]
do not parse full header for private streams

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

9 years agocorrectly handle maximum streams limit
Baptiste Coudurier [Tue, 2 Jun 2009 07:30:19 +0000 (07:30 +0000)]
correctly handle maximum streams limit

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

9 years agoexport data from private streams
Baptiste Coudurier [Tue, 2 Jun 2009 07:26:58 +0000 (07:26 +0000)]
export data from private streams

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

9 years agoRemove the const qualifier for the name field of AVFilterInOut, since
Stefano Sabatini [Mon, 1 Jun 2009 16:07:48 +0000 (16:07 +0000)]
Remove the const qualifier for the name field of AVFilterInOut, since
it is meant to be freed.
Fix warnings.

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

9 years agoindent
Ramiro Polla [Sun, 31 May 2009 20:19:16 +0000 (20:19 +0000)]
indent

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

9 years agoRemove useless if(), leftover from the vhook removal.
Ramiro Polla [Sun, 31 May 2009 20:17:58 +0000 (20:17 +0000)]
Remove useless if(), leftover from the vhook removal.

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

9 years agoadd #if CONFIG_ZLIB_DECODER around zlib_decomp function.
Reimar Döffinger [Sun, 31 May 2009 19:51:21 +0000 (19:51 +0000)]
add #if CONFIG_ZLIB_DECODER around zlib_decomp function.
Fixes compilation when zlib is not available.

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

9 years agomszh decompression: add a special case for an all-0 mask, i.e. 32 uncompressed
Reimar Döffinger [Sun, 31 May 2009 18:17:33 +0000 (18:17 +0000)]
mszh decompression: add a special case for an all-0 mask, i.e. 32 uncompressed
bytes in a row.
About 15% faster mszh_decomp on an Atom N270 for
http://samples.mplayerhq.hu/V-codecs/mszh-zlib/avimzsh_sample.avi

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

9 years agolcldec: ensure that the offset for av_memcpy_backptr is valid.
Reimar Döffinger [Sun, 31 May 2009 17:44:35 +0000 (17:44 +0000)]
lcldec: ensure that the offset for av_memcpy_backptr is valid.

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

9 years agoImplement avfilter_graph_config_links().
Stefano Sabatini [Sun, 31 May 2009 16:30:12 +0000 (16:30 +0000)]
Implement avfilter_graph_config_links().

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

9 years agoI will take care of the lcl de-/encoder while Roberto is unavailable.
Reimar Döffinger [Sun, 31 May 2009 11:50:30 +0000 (11:50 +0000)]
I will take care of the lcl de-/encoder while Roberto is unavailable.

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

9 years agoFix memleak due to c->decomp_buf never being freed.
Reimar Döffinger [Sun, 31 May 2009 11:47:52 +0000 (11:47 +0000)]
Fix memleak due to c->decomp_buf never being freed.

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

9 years agoOnly call inflateEnd when we were actually using the zlib code.
Reimar Döffinger [Sun, 31 May 2009 11:42:50 +0000 (11:42 +0000)]
Only call inflateEnd when we were actually using the zlib code.

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

9 years agoavctx->priv_data is initialized to 0, get rid of useless extra initialization.
Reimar Döffinger [Sun, 31 May 2009 11:41:49 +0000 (11:41 +0000)]
avctx->priv_data is initialized to 0, get rid of useless extra initialization.

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

9 years agoMerge variable declaration and initialization.
Reimar Döffinger [Sun, 31 May 2009 11:35:20 +0000 (11:35 +0000)]
Merge variable declaration and initialization.

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

9 years agoUse int-size types instead of char where it makes no difference.
Reimar Döffinger [Sun, 31 May 2009 11:34:19 +0000 (11:34 +0000)]
Use int-size types instead of char where it makes no difference.

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

9 years agoTake advantage of available input padding to optimize mszh_decomp
Reimar Döffinger [Sun, 31 May 2009 11:32:03 +0000 (11:32 +0000)]
Take advantage of available input padding to optimize mszh_decomp

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

9 years agoChange maskbit variable to contain (1 << maskbit)
Reimar Döffinger [Sun, 31 May 2009 10:58:20 +0000 (10:58 +0000)]
Change maskbit variable to contain (1 << maskbit)

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

9 years agoRemove check that thanks to padding is no longer necessary.
Reimar Döffinger [Sun, 31 May 2009 10:53:47 +0000 (10:53 +0000)]
Remove check that thanks to padding is no longer necessary.

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

9 years ago100l, the compression field in lcl extradata must be interpreted as
Reimar Döffinger [Sun, 31 May 2009 10:50:54 +0000 (10:50 +0000)]
100l, the compression field in lcl extradata must be interpreted as
int8_t, not uint8_t to allow -1 for "no compression".
The original code worked, but only when char was signed.

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

9 years agoOne more use for FFMIN.
Reimar Döffinger [Sun, 31 May 2009 10:44:42 +0000 (10:44 +0000)]
One more use for FFMIN.

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

9 years agoPad the decompression buffer and use av_memcpy_backptr for the mszh decompression.
Reimar Döffinger [Sun, 31 May 2009 10:42:26 +0000 (10:42 +0000)]
Pad the decompression buffer and use av_memcpy_backptr for the mszh decompression.

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

9 years agoMark srcptr as const in mszh_decomp
Reimar Döffinger [Sun, 31 May 2009 10:38:17 +0000 (10:38 +0000)]
Mark srcptr as const in mszh_decomp

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

9 years agoRemove unnecessary put_bits/get_bits includes.
Reimar Döffinger [Sun, 31 May 2009 10:37:05 +0000 (10:37 +0000)]
Remove unnecessary put_bits/get_bits includes.

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

9 years agoUse bytestream_get_le16 to simplify offset/count calculation for mszh decompression.
Reimar Döffinger [Sun, 31 May 2009 10:35:39 +0000 (10:35 +0000)]
Use bytestream_get_le16 to simplify offset/count calculation for mszh decompression.

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

9 years agoRemove useless & 0x1f
Reimar Döffinger [Sun, 31 May 2009 10:31:37 +0000 (10:31 +0000)]
Remove useless & 0x1f

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

9 years agoDocument padding requirements of mszh_decomp srcptr buffer
Reimar Döffinger [Sun, 31 May 2009 10:28:40 +0000 (10:28 +0000)]
Document padding requirements of mszh_decomp srcptr buffer

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

9 years agoUse srcptr_end variable to avoid having to update both srcptr and srclen.
Reimar Döffinger [Sun, 31 May 2009 10:26:58 +0000 (10:26 +0000)]
Use srcptr_end variable to avoid having to update both srcptr and srclen.

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

9 years agoChange buffer size checks to avoid the undefined overflow case.
Reimar Döffinger [Sun, 31 May 2009 10:23:38 +0000 (10:23 +0000)]
Change buffer size checks to avoid the undefined overflow case.

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

9 years agoSimply use memcpy instead of AV_RN32/AV_WN32 combination.
Reimar Döffinger [Sun, 31 May 2009 10:16:28 +0000 (10:16 +0000)]
Simply use memcpy instead of AV_RN32/AV_WN32 combination.

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

9 years agoFix decoding of multithread-encoded lcl files on big-endian.
Reimar Döffinger [Sun, 31 May 2009 10:14:27 +0000 (10:14 +0000)]
Fix decoding of multithread-encoded lcl files on big-endian.

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

9 years agoRemove another useless ()
Reimar Döffinger [Sun, 31 May 2009 10:05:21 +0000 (10:05 +0000)]
Remove another useless ()

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

9 years agoCorrect calculation of compressed input length.
Reimar Döffinger [Sun, 31 May 2009 10:01:26 +0000 (10:01 +0000)]
Correct calculation of compressed input length.

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

9 years agoAdd sanity check for mthread_inlen, avoids crashes due to invalid reads.
Reimar Döffinger [Sun, 31 May 2009 09:59:46 +0000 (09:59 +0000)]
Add sanity check for mthread_inlen, avoids crashes due to invalid reads.

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

9 years agoUse FFMIN
Reimar Döffinger [Sun, 31 May 2009 09:57:42 +0000 (09:57 +0000)]
Use FFMIN

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

9 years agoFactor out zlib decompression code to avoid massive code duplication,
Reimar Döffinger [Sun, 31 May 2009 09:51:46 +0000 (09:51 +0000)]
Factor out zlib decompression code to avoid massive code duplication,
particularly due to error checks.

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

9 years agoUse FFALIGN
Reimar Döffinger [Sun, 31 May 2009 09:28:29 +0000 (09:28 +0000)]
Use FFALIGN

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

9 years agoMove variable into block where it is used, avoiding a unused variable
Reimar Döffinger [Sun, 31 May 2009 09:27:07 +0000 (09:27 +0000)]
Move variable into block where it is used, avoiding a unused variable
warning if the zlib decoder is disabled.

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

9 years agoMake lcldec less annoyingly verbose, move messages from AV_LOG_INFO to AV_LOG_DEBUG.
Reimar Döffinger [Sun, 31 May 2009 09:23:54 +0000 (09:23 +0000)]
Make lcldec less annoyingly verbose, move messages from AV_LOG_INFO to AV_LOG_DEBUG.

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

9 years agoGet rid of unreachable code: avctx->codec_id == CODEC_ID_ZLIB is not possible
Reimar Döffinger [Sun, 31 May 2009 09:19:21 +0000 (09:19 +0000)]
Get rid of unreachable code: avctx->codec_id == CODEC_ID_ZLIB is not possible
here when the zlib decoder is disabled and libavcodec is used correctly.

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

9 years agolcldec.c: change #if CONFIG_ZLIB to #if CONFIG_ZLIB_DECODER.
Reimar Döffinger [Sun, 31 May 2009 09:16:06 +0000 (09:16 +0000)]
lcldec.c: change #if CONFIG_ZLIB to #if CONFIG_ZLIB_DECODER.
The zlib related code should not be compiled in when the decoder is disabled
and it thus will never be used, even if we have zlib available.

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

9 years agoGet rid of extradata casts, it already has the right uint8_t * type
Reimar Döffinger [Sun, 31 May 2009 09:12:17 +0000 (09:12 +0000)]
Get rid of extradata casts, it already has the right uint8_t * type

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

9 years agoMake lcldec produce YUV output when the input file is coded like that, instead
Reimar Döffinger [Sun, 31 May 2009 09:09:32 +0000 (09:09 +0000)]
Make lcldec produce YUV output when the input file is coded like that, instead
of having it do its own inefficient fixed-point YUV to RGB conversion.

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

9 years agoRemove now unused elements from LclEncContext
Reimar Döffinger [Sun, 31 May 2009 08:54:41 +0000 (08:54 +0000)]
Remove now unused elements from LclEncContext

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

9 years agoRemove useless casts, extradata is already "uint8_t *"
Reimar Döffinger [Sun, 31 May 2009 08:51:30 +0000 (08:51 +0000)]
Remove useless casts, extradata is already "uint8_t *"

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

9 years agolclenc.c: compress directly into output buffer instead of using a pointless
Reimar Döffinger [Sun, 31 May 2009 08:49:27 +0000 (08:49 +0000)]
lclenc.c: compress directly into output buffer instead of using a pointless
temporary buffer and then using put_bits to copy the data over.

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

9 years agoinitialize pes state to skip
Baptiste Coudurier [Sun, 31 May 2009 08:47:40 +0000 (08:47 +0000)]
initialize pes state to skip

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

9 years agoRemove superfluous () from lclenc.c
Reimar Döffinger [Sun, 31 May 2009 08:41:11 +0000 (08:41 +0000)]
Remove superfluous () from lclenc.c

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

9 years agoCosmetics: fix indentation in lclenc.c
Reimar Döffinger [Sun, 31 May 2009 08:38:51 +0000 (08:38 +0000)]
Cosmetics: fix indentation in lclenc.c

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

9 years agoRemove "#if CONFIG_ZLIB" checks from lclenc.c, the file is never compiled
Reimar Döffinger [Sun, 31 May 2009 08:36:44 +0000 (08:36 +0000)]
Remove "#if CONFIG_ZLIB" checks from lclenc.c, the file is never compiled
if zlib is not available.

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

9 years agoAdd a lock manager API to libavcodec.
Andreas Öman [Sun, 31 May 2009 06:51:18 +0000 (06:51 +0000)]
Add a lock manager API to libavcodec.

Allows an application to register a callback that manages mutexes
on behalf of FFmpeg.
With this callback registered FFmpeg is fully thread safe.

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

9 years agoremove cast and use put_sbits, fix assertion in put_bits
Baptiste Coudurier [Sun, 31 May 2009 06:33:58 +0000 (06:33 +0000)]
remove cast and use put_sbits, fix assertion in put_bits

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

9 years agofix 3gp metadata, write strings in UTF8, patch by Larbi Joubala, larbi dot joubala...
Larbi Joubala [Sun, 31 May 2009 05:24:16 +0000 (05:24 +0000)]
fix 3gp metadata, write strings in UTF8, patch by Larbi Joubala, larbi dot joubala at resonate-mp4 dot com

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

9 years agoadd myself as maintainer for mpegts*
Baptiste Coudurier [Sun, 31 May 2009 05:14:09 +0000 (05:14 +0000)]
add myself as maintainer for mpegts*

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

9 years agoprint reg desc in a more friendly way
Baptiste Coudurier [Sun, 31 May 2009 04:47:30 +0000 (04:47 +0000)]
print reg desc in a more friendly way

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