skip ext header missing message for msmpeg4v2
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Aug 2003 21:11:45 +0000 (21:11 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Aug 2003 21:11:45 +0000 (21:11 +0000)
Originally committed as revision 2118 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/msmpeg4.c

index 0849f9022913d99b54e3348735b5e1aac168e2d0..d62c572cb015f8b73d4b1da8ea6e475e2c3e6e51 100644 (file)
@@ -1409,7 +1409,8 @@ int msmpeg4_decode_ext_header(MpegEncContext * s, int buf_size)
     else if(left<length+8)
     {
         s->flipflop_rounding= 0;
     else if(left<length+8)
     {
         s->flipflop_rounding= 0;
-        printf("ext header missing, %d left\n", left);
+        if(s->msmpeg4_version != 2)
+            printf("ext header missing, %d left\n", left);
     }
     else
     {
     }
     else
     {