[FFmpeg-cvslog] r12394 - trunk/libavcodec/zmbv.c

kostya subversion
Sun Mar 9 15:15:41 CET 2008


Author: kostya
Date: Sun Mar  9 15:15:40 2008
New Revision: 12394

Log:
Correctly handle empty frames

Modified:
   trunk/libavcodec/zmbv.c

Modified: trunk/libavcodec/zmbv.c
==============================================================================
--- trunk/libavcodec/zmbv.c	(original)
+++ trunk/libavcodec/zmbv.c	Sun Mar  9 15:15:40 2008
@@ -504,6 +504,7 @@ static int decode_frame(AVCodecContext *
     } else {
         c->pic.key_frame = 0;
         c->pic.pict_type = FF_P_TYPE;
+        if(c->decomp_len)
         c->decode_xor(c);
     }
 




More information about the ffmpeg-cvslog mailing list