]> git.sesse.net Git - ffmpeg/log
ffmpeg
15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 years agogive context to dprintf
Baptiste Coudurier [Sun, 31 May 2009 04:45:51 +0000 (04:45 +0000)]
give context to dprintf

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

15 years agoprint registration descriptor in debug
Baptiste Coudurier [Sun, 31 May 2009 04:41:47 +0000 (04:41 +0000)]
print registration descriptor in debug

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

15 years agosplit audio chunks in mov demuxer
Baptiste Coudurier [Sun, 31 May 2009 04:36:26 +0000 (04:36 +0000)]
split audio chunks in mov demuxer

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

15 years ago0x7a is E-AC3 descriptor
Baptiste Coudurier [Sun, 31 May 2009 04:35:05 +0000 (04:35 +0000)]
0x7a is E-AC3 descriptor

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

15 years agofix compilation with DEBUG defined
Baptiste Coudurier [Sun, 31 May 2009 04:32:45 +0000 (04:32 +0000)]
fix compilation with DEBUG defined

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

15 years agofix compilation with DEBUG defined
Baptiste Coudurier [Sun, 31 May 2009 04:26:22 +0000 (04:26 +0000)]
fix compilation with DEBUG defined

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

15 years agouse dts codec probing
Baptiste Coudurier [Sun, 31 May 2009 04:13:25 +0000 (04:13 +0000)]
use dts codec probing

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

15 years agoset codec_tag to stream type, so user can deal with it
Baptiste Coudurier [Sun, 31 May 2009 04:10:15 +0000 (04:10 +0000)]
set codec_tag to stream type, so user can deal with it

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

15 years agoset codec_tag to registration descriptor if present
Baptiste Coudurier [Sun, 31 May 2009 04:04:20 +0000 (04:04 +0000)]
set codec_tag to registration descriptor if present

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

15 years agoadd streams even if they are not present in PMT, fix #1092 and #835
Baptiste Coudurier [Sun, 31 May 2009 03:55:23 +0000 (03:55 +0000)]
add streams even if they are not present in PMT, fix #1092 and #835

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

15 years agoremove no longer needed fake dvbsub stream type
Baptiste Coudurier [Sun, 31 May 2009 03:46:24 +0000 (03:46 +0000)]
remove no longer needed fake dvbsub stream type

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

15 years agoreindent
Baptiste Coudurier [Sun, 31 May 2009 03:45:45 +0000 (03:45 +0000)]
reindent

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