Browse Source

10000l

Originally committed as revision 2665 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 22 years ago
parent
commit
ac548c5d1d
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      libavcodec/dv.c

+ 5
- 0
libavcodec/dv.c View File

@@ -921,6 +921,11 @@ static int dvvideo_decode_frame(AVCodecContext *avctx,
DVVideoDecodeContext *s = avctx->priv_data;
int ds, vs;
const uint16_t *mb_pos_ptr;
*data_size=0;
/* special case for last picture */
if(buf_size==0)
return 0;
s->sys = dv_frame_profile(buf);
if (!s->sys || buf_size < s->sys->frame_size)


Loading…
Cancel
Save