Revision 51ce8c2f libavformat/utils.c
libavformat/utils.c | ||
---|---|---|
2209 | 2209 |
decompress the frame. We try to avoid that in most cases as |
2210 | 2210 |
it takes longer and uses more memory. For MPEG-4, we need to |
2211 | 2211 |
decompress for QuickTime. */ |
2212 |
if (!has_codec_parameters(st->codec) /*&& |
|
2213 |
(st->codec->codec_id == CODEC_ID_FLV1 || |
|
2214 |
st->codec->codec_id == CODEC_ID_H264 || |
|
2215 |
st->codec->codec_id == CODEC_ID_H263 || |
|
2216 |
st->codec->codec_id == CODEC_ID_H261 || |
|
2217 |
st->codec->codec_id == CODEC_ID_VORBIS || |
|
2218 |
st->codec->codec_id == CODEC_ID_MJPEG || |
|
2219 |
st->codec->codec_id == CODEC_ID_PNG || |
|
2220 |
st->codec->codec_id == CODEC_ID_PAM || |
|
2221 |
st->codec->codec_id == CODEC_ID_PGM || |
|
2222 |
st->codec->codec_id == CODEC_ID_PGMYUV || |
|
2223 |
st->codec->codec_id == CODEC_ID_PBM || |
|
2224 |
st->codec->codec_id == CODEC_ID_PPM || |
|
2225 |
st->codec->codec_id == CODEC_ID_SHORTEN || |
|
2226 |
(st->codec->codec_id == CODEC_ID_MPEG4 && !st->need_parsing))*/) |
|
2212 |
if (!has_codec_parameters(st->codec)) |
|
2227 | 2213 |
try_decode_frame(st, pkt); |
2228 | 2214 |
|
2229 | 2215 |
count++; |
Also available in: Unified diff