comparison utils.c @ 5439:88c31193e06b libavformat

Remove commented out code.
author michael
date Sun, 13 Dec 2009 15:01:09 +0000
parents 3e568c0b36d3
children eada8bccc620
comparison
equal deleted inserted replaced
5438:2fc7b9935ef2 5439:88c31193e06b
2207 2207
2208 /* if still no information, we try to open the codec and to 2208 /* if still no information, we try to open the codec and to
2209 decompress the frame. We try to avoid that in most cases as 2209 decompress the frame. We try to avoid that in most cases as
2210 it takes longer and uses more memory. For MPEG-4, we need to 2210 it takes longer and uses more memory. For MPEG-4, we need to
2211 decompress for QuickTime. */ 2211 decompress for QuickTime. */
2212 if (!has_codec_parameters(st->codec) /*&& 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))*/)
2227 try_decode_frame(st, pkt); 2213 try_decode_frame(st, pkt);
2228 2214
2229 count++; 2215 count++;
2230 } 2216 }
2231 2217