Originally committed as revision 9290 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Kostya Shishkov 2007-06-12 15:03:28 +00:00
parent 755bfeabcc
commit c294d7c6ba

View File

@ -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];