Browse Source

Correctly handle empty frames

Originally committed as revision 12394 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Kostya Shishkov 17 years ago
parent
commit
1ba3bae800
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/zmbv.c

+ 1
- 0
libavcodec/zmbv.c View File

@@ -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);
}



Loading…
Cancel
Save