Be less verbose when skipping MPEG-4 ASP frames.

Fixes ticket #560.
This commit is contained in:
Carl Eugen Hoyos 2011-12-02 03:27:14 +01:00
parent 40c36196d5
commit fab5973fa5

View File

@ -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