Revision 8b086712 libavcodec/vaapi_mpeg4.c

View differences:

libavcodec/vaapi_mpeg4.c
51 51
    vactx->slice_param_size = sizeof(VASliceParameterBufferMPEG4);
52 52

  
53 53
    /* Fill in VAPictureParameterBufferMPEG4 */
54
    pic_param = ff_vaapi_alloc_picture(vactx, sizeof(VAPictureParameterBufferMPEG4));
54
    pic_param = ff_vaapi_alloc_pic_param(vactx, sizeof(VAPictureParameterBufferMPEG4));
55 55
    if (!pic_param)
56 56
        return -1;
57 57
    pic_param->vop_width                                = s->width;

Also available in: Unified diff