Revision 8b086712 libavcodec/vaapi_vc1.c

View differences:

libavcodec/vaapi_vc1.c
142 142
    vactx->slice_param_size = sizeof(VASliceParameterBufferVC1);
143 143

  
144 144
    /* Fill in VAPictureParameterBufferVC1 */
145
    pic_param = ff_vaapi_alloc_picture(vactx, sizeof(VAPictureParameterBufferVC1));
145
    pic_param = ff_vaapi_alloc_pic_param(vactx, sizeof(VAPictureParameterBufferVC1));
146 146
    if (!pic_param)
147 147
        return -1;
148 148
    pic_param->forward_reference_picture                            = 0xffffffff;

Also available in: Unified diff