diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2008-03-09 17:15:40 +0300 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2008-03-09 17:15:40 +0300 |
commit | 1ba3bae800d41f239109ae82dc06617962657f48 (patch) | |
tree | 99b12a6a0abb26f846c7637b484bfa7e2c7842dc /libavcodec/zmbv.c | |
parent | 8c908d7d61d1d5dd5d0114ecfc44d59958523a96 (diff) |
Correctly handle empty frames
Originally committed as revision 12394 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/zmbv.c')
-rw-r--r-- | libavcodec/zmbv.c | 1 |
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); } |