[FFmpeg-cvslog] r10461 - trunk/libavcodec/snow.c

michael subversion
Sun Sep 9 19:01:13 CEST 2007


Author: michael
Date: Sun Sep  9 19:01:11 2007
New Revision: 10461

Log:
dont ignore return of decode_header()


Modified:
   trunk/libavcodec/snow.c

Modified: trunk/libavcodec/snow.c
==============================================================================
--- trunk/libavcodec/snow.c	(original)
+++ trunk/libavcodec/snow.c	Sun Sep  9 19:01:11 2007
@@ -4438,7 +4438,8 @@ static int decode_frame(AVCodecContext *
     ff_build_rac_states(c, 0.05*(1LL<<32), 256-8);
 
     s->current_picture.pict_type= FF_I_TYPE; //FIXME I vs. P
-    decode_header(s);
+    if(decode_header(s)<0)
+        return -1;
     common_init_after_header(avctx);
 
     // realloc slice buffer for the case that spatial_decomposition_count changed




More information about the ffmpeg-cvslog mailing list