changeset 6478:9818b6840614 libavcodec

Correctly handle empty frames
author kostya
date Sun, 09 Mar 2008 14:15:40 +0000
parents 36fb492f44cc
children 863a6c0ff6ad
files zmbv.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/zmbv.c	Sun Mar 09 09:04:35 2008 +0000
+++ b/zmbv.c	Sun Mar 09 14:15:40 2008 +0000
@@ -504,6 +504,7 @@
     } else {
         c->pic.key_frame = 0;
         c->pic.pict_type = FF_P_TYPE;
+        if(c->decomp_len)
         c->decode_xor(c);
     }