Be less verbose when skipping MPEG-4 ASP frames.

Fixes ticket #560.
pull/2/head
Carl Eugen Hoyos 13 years ago
parent 40c36196d5
commit fab5973fa5
  1. 2
      libavcodec/mpeg4videodec.c

@ -2140,7 +2140,7 @@ int ff_mpeg4_decode_picture_header(MpegEncContext * s, GetBitContext *gb)
for(;;) {
if(get_bits_count(gb) >= gb->size_in_bits){
if(gb->size_in_bits==8 && (s->divx_version>=0 || s->xvid_build>=0) || s->codec_tag == AV_RL32("QMP4")){
av_log(s->avctx, AV_LOG_WARNING, "frame skip %d\n", gb->size_in_bits);
av_log(s->avctx, AV_LOG_VERBOSE, "frame skip %d\n", gb->size_in_bits);
return FRAME_SKIPPED; //divx bug
}else
return -1; //end of stream

Loading…
Cancel
Save