Originally committed as revision 9290 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Kostya Shishkov 18 years ago
parent 755bfeabcc
commit c294d7c6ba
  1. 2
      libavcodec/vc1.c

@ -4013,7 +4013,7 @@ static int vc1_decode_frame(AVCodecContext *avctx,
}
/* We need to set current_picture_ptr before reading the header,
* otherwise we cannot store anyting in there. */
* otherwise we cannot store anything in there. */
if(s->current_picture_ptr==NULL || s->current_picture_ptr->data[0]){
int i= ff_find_unused_picture(s, 0);
s->current_picture_ptr= &s->picture[i];

Loading…
Cancel
Save