Be less verbose when skipping MPEG-4 ASP frames.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Fri, 2 Dec 2011 02:27:14 +0000 (03:27 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Fri, 2 Dec 2011 02:27:14 +0000 (03:27 +0100)
Fixes ticket #560.

libavcodec/mpeg4videodec.c

index c8476b4..5394887 100644 (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")){
     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
                 return FRAME_SKIPPED; //divx bug
             }else
                 return -1; //end of stream