Revision 8b086712 libavcodec/vaapi_mpeg2.c

View differences:

libavcodec/vaapi_mpeg2.c
49 49
    vactx->slice_param_size = sizeof(VASliceParameterBufferMPEG2);
50 50

  
51 51
    /* Fill in VAPictureParameterBufferMPEG2 */
52
    pic_param = ff_vaapi_alloc_picture(vactx, sizeof(VAPictureParameterBufferMPEG2));
52
    pic_param = ff_vaapi_alloc_pic_param(vactx, sizeof(VAPictureParameterBufferMPEG2));
53 53
    if (!pic_param)
54 54
        return -1;
55 55
    pic_param->horizontal_size                                  = s->width;

Also available in: Unified diff