Revision 755bfeab libavcodec/vc1.c

View differences:

libavcodec/vc1.c
4012 4012
        return 0;
4013 4013
    }
4014 4014

  
4015
    //we need to set current_picture_ptr before reading the header, otherwise we cant store anyting im there
4015
    /* We need to set current_picture_ptr before reading the header,
4016
     * otherwise we cannot store anyting in there. */
4016 4017
    if(s->current_picture_ptr==NULL || s->current_picture_ptr->data[0]){
4017 4018
        int i= ff_find_unused_picture(s, 0);
4018 4019
        s->current_picture_ptr= &s->picture[i];

Also available in: Unified diff