summaryrefslogtreecommitdiff
path: root/libavcodec/zmbv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/zmbv.c')
-rw-r--r--libavcodec/zmbv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/zmbv.c b/libavcodec/zmbv.c
index 1eb8ef00a1..fd2a120487 100644
--- a/libavcodec/zmbv.c
+++ b/libavcodec/zmbv.c
@@ -504,6 +504,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, const
} else {
c->pic.key_frame = 0;
c->pic.pict_type = FF_P_TYPE;
+ if(c->decomp_len)
c->decode_xor(c);
}