Reimar Döffinger
974ce78544
Mark srcptr as const in mszh_decomp
...
Originally committed as revision 19053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 10:38:17 +00:00
Reimar Döffinger
6065dcea37
Remove unnecessary put_bits/get_bits includes.
...
Originally committed as revision 19052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 10:37:05 +00:00
Reimar Döffinger
2bee59083d
Use bytestream_get_le16 to simplify offset/count calculation for mszh decompression.
...
Originally committed as revision 19051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 10:35:39 +00:00
Reimar Döffinger
5a18221ba8
Remove useless & 0x1f
...
Originally committed as revision 19050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 10:31:37 +00:00
Reimar Döffinger
7b151a98b0
Document padding requirements of mszh_decomp srcptr buffer
...
Originally committed as revision 19049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 10:28:40 +00:00
Reimar Döffinger
5e5fe7dab5
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
2009-05-31 10:26:58 +00:00
Reimar Döffinger
dbc53ffc7c
Change buffer size checks to avoid the undefined overflow case.
...
Originally committed as revision 19047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 10:23:38 +00:00
Reimar Döffinger
2fddb91e94
Simply use memcpy instead of AV_RN32/AV_WN32 combination.
...
Originally committed as revision 19046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 10:16:28 +00:00
Reimar Döffinger
661cb0d4a9
Fix decoding of multithread-encoded lcl files on big-endian.
...
Originally committed as revision 19045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 10:14:27 +00:00
Reimar Döffinger
ce22c7d075
Remove another useless ()
...
Originally committed as revision 19044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 10:05:21 +00:00
Reimar Döffinger
21bf2f51d7
Correct calculation of compressed input length.
...
Originally committed as revision 19043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 10:01:26 +00:00
Reimar Döffinger
46adcc27a2
Add sanity check for mthread_inlen, avoids crashes due to invalid reads.
...
Originally committed as revision 19042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 09:59:46 +00:00
Reimar Döffinger
1207c84adb
Use FFMIN
...
Originally committed as revision 19041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 09:57:42 +00:00
Reimar Döffinger
c2c0c1c023
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
2009-05-31 09:51:46 +00:00
Reimar Döffinger
f005808bf2
Use FFALIGN
...
Originally committed as revision 19039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 09:28:29 +00:00
Reimar Döffinger
46c02b1b50
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
2009-05-31 09:27:07 +00:00
Reimar Döffinger
2b550f816a
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
2009-05-31 09:23:54 +00:00
Reimar Döffinger
75f6d6c7e6
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
2009-05-31 09:19:21 +00:00
Reimar Döffinger
56b44694bd
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
2009-05-31 09:16:06 +00:00
Reimar Döffinger
445e0ab539
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
2009-05-31 09:12:17 +00:00
Reimar Döffinger
8c18e490c4
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
2009-05-31 09:09:32 +00:00
Reimar Döffinger
55619690e8
Remove now unused elements from LclEncContext
...
Originally committed as revision 19032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 08:54:41 +00:00
Reimar Döffinger
3b855101b4
Remove useless casts, extradata is already "uint8_t *"
...
Originally committed as revision 19031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 08:51:30 +00:00
Reimar Döffinger
e786d3cf80
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
2009-05-31 08:49:27 +00:00
Baptiste Coudurier
4a01b3c714
initialize pes state to skip
...
Originally committed as revision 19029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 08:47:40 +00:00
Reimar Döffinger
32b3ab9b60
Remove superfluous () from lclenc.c
...
Originally committed as revision 19028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 08:41:11 +00:00
Reimar Döffinger
8f033e3e03
Cosmetics: fix indentation in lclenc.c
...
Originally committed as revision 19027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 08:38:51 +00:00
Reimar Döffinger
7ff7ac60e1
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
2009-05-31 08:36:44 +00:00
Andreas Öman
f988ce6cad
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
2009-05-31 06:51:18 +00:00
Baptiste Coudurier
b8df8d0d1c
remove cast and use put_sbits, fix assertion in put_bits
...
Originally committed as revision 19024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 06:33:58 +00:00
Larbi Joubala
15c315b7f1
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
2009-05-31 05:24:16 +00:00
Baptiste Coudurier
135c8c2c16
add myself as maintainer for mpegts*
...
Originally committed as revision 19022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 05:14:09 +00:00
Baptiste Coudurier
1f07654330
print reg desc in a more friendly way
...
Originally committed as revision 19021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 04:47:30 +00:00
Baptiste Coudurier
ad183ff4e2
give context to dprintf
...
Originally committed as revision 19020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 04:45:51 +00:00
Baptiste Coudurier
fc72ad1990
print registration descriptor in debug
...
Originally committed as revision 19019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 04:41:47 +00:00
Baptiste Coudurier
7e69621f56
split audio chunks in mov demuxer
...
Originally committed as revision 19018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 04:36:26 +00:00
Baptiste Coudurier
84c7d45e02
0x7a is E-AC3 descriptor
...
Originally committed as revision 19017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 04:35:05 +00:00
Baptiste Coudurier
67c9cd696a
fix compilation with DEBUG defined
...
Originally committed as revision 19016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 04:32:45 +00:00
Baptiste Coudurier
19c0563ac2
fix compilation with DEBUG defined
...
Originally committed as revision 19015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 04:26:22 +00:00
Baptiste Coudurier
e695906ec7
use dts codec probing
...
Originally committed as revision 19014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 04:13:25 +00:00
Baptiste Coudurier
7103a77b4d
set codec_tag to stream type, so user can deal with it
...
Originally committed as revision 19013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 04:10:15 +00:00
Baptiste Coudurier
5b3c4c8ac6
set codec_tag to registration descriptor if present
...
Originally committed as revision 19012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 04:04:20 +00:00
Baptiste Coudurier
ffdbada6c1
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
2009-05-31 03:55:23 +00:00
Baptiste Coudurier
e6eb74d84c
remove no longer needed fake dvbsub stream type
...
Originally committed as revision 19010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 03:46:24 +00:00
Baptiste Coudurier
f2c357d95d
reindent
...
Originally committed as revision 19009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 03:45:45 +00:00
Baptiste Coudurier
ed68efad8b
remove no longer needed init
...
Originally committed as revision 19008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 03:44:03 +00:00
Baptiste Coudurier
6a2a50f81f
factorize
...
Originally committed as revision 19007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 03:40:36 +00:00
Baptiste Coudurier
f42d1d824e
simplify and merge
...
Originally committed as revision 19006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 03:35:29 +00:00
Baptiste Coudurier
08f94e989f
move new_pes_av_stream to avoid forward declaration
...
Originally committed as revision 19005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 03:12:25 +00:00
Baptiste Coudurier
2fef7b5374
remove defines
...
Originally committed as revision 19004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 03:02:12 +00:00