Reimar Döffinger
974ce78544
Mark srcptr as const in mszh_decomp
...
Originally committed as revision 19053 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
6065dcea37
Remove unnecessary put_bits/get_bits includes.
...
Originally committed as revision 19052 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Reimar Döffinger
5a18221ba8
Remove useless & 0x1f
...
Originally committed as revision 19050 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
7b151a98b0
Document padding requirements of mszh_decomp srcptr buffer
...
Originally committed as revision 19049 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Reimar Döffinger
ce22c7d075
Remove another useless ()
...
Originally committed as revision 19044 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
21bf2f51d7
Correct calculation of compressed input length.
...
Originally committed as revision 19043 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Reimar Döffinger
1207c84adb
Use FFMIN
...
Originally committed as revision 19041 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Reimar Döffinger
f005808bf2
Use FFALIGN
...
Originally committed as revision 19039 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Reimar Döffinger
55619690e8
Remove now unused elements from LclEncContext
...
Originally committed as revision 19032 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
3b855101b4
Remove useless casts, extradata is already "uint8_t *"
...
Originally committed as revision 19031 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Baptiste Coudurier
4a01b3c714
initialize pes state to skip
...
Originally committed as revision 19029 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
32b3ab9b60
Remove superfluous () from lclenc.c
...
Originally committed as revision 19028 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
8f033e3e03
Cosmetics: fix indentation in lclenc.c
...
Originally committed as revision 19027 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Baptiste Coudurier
135c8c2c16
add myself as maintainer for mpegts*
...
Originally committed as revision 19022 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
1f07654330
print reg desc in a more friendly way
...
Originally committed as revision 19021 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
ad183ff4e2
give context to dprintf
...
Originally committed as revision 19020 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
fc72ad1990
print registration descriptor in debug
...
Originally committed as revision 19019 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
7e69621f56
split audio chunks in mov demuxer
...
Originally committed as revision 19018 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
84c7d45e02
0x7a is E-AC3 descriptor
...
Originally committed as revision 19017 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
67c9cd696a
fix compilation with DEBUG defined
...
Originally committed as revision 19016 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
19c0563ac2
fix compilation with DEBUG defined
...
Originally committed as revision 19015 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
e695906ec7
use dts codec probing
...
Originally committed as revision 19014 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Baptiste Coudurier
5b3c4c8ac6
set codec_tag to registration descriptor if present
...
Originally committed as revision 19012 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Baptiste Coudurier
e6eb74d84c
remove no longer needed fake dvbsub stream type
...
Originally committed as revision 19010 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
f2c357d95d
reindent
...
Originally committed as revision 19009 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
ed68efad8b
remove no longer needed init
...
Originally committed as revision 19008 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
6a2a50f81f
factorize
...
Originally committed as revision 19007 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
f42d1d824e
simplify and merge
...
Originally committed as revision 19006 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
08f94e989f
move new_pes_av_stream to avoid forward declaration
...
Originally committed as revision 19005 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
2fef7b5374
remove defines
...
Originally committed as revision 19004 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago