Revision 36ad2b3e libavcodec/vaapi_vc1.c

View differences:

libavcodec/vaapi_vc1.c
242 242

  
243 243
    switch (s->pict_type) {
244 244
    case FF_B_TYPE:
245
        pic_param->backward_reference_picture = ff_vaapi_get_surface(&s->next_picture);
245
        pic_param->backward_reference_picture = ff_vaapi_get_surface_id(&s->next_picture);
246 246
        // fall-through
247 247
    case FF_P_TYPE:
248
        pic_param->forward_reference_picture = ff_vaapi_get_surface(&s->last_picture);
248
        pic_param->forward_reference_picture = ff_vaapi_get_surface_id(&s->last_picture);
249 249
        break;
250 250
    }
251 251

  

Also available in: Unified diff