diff h263dec.c @ 251:75091bfc577b libavcodec

fixing msmpeg4 decoding if fps < 16 (i thought it was a indicator for the ext header, its the fps indeed)
author michaelni
date Fri, 22 Feb 2002 19:19:01 +0000
parents 42a0b7b16738
children 7d941b8c4e84
line wrap: on
line diff
--- a/h263dec.c	Fri Feb 22 03:35:41 2002 +0000
+++ b/h263dec.c	Fri Feb 22 19:19:01 2002 +0000
@@ -214,7 +214,7 @@
         }
     }
     
-    if (s->h263_msmpeg4)
+    if (s->h263_msmpeg4 && s->pict_type==I_TYPE)
         if(msmpeg4_decode_ext_header(s, buf_size) < 0) return -1;
 
     MPV_frame_end(s);