Revision e6d3534f libavcodec/vaapi_mpeg2.c

View differences:

libavcodec/vaapi_mpeg2.c
54 54
        return -1;
55 55
    pic_param->horizontal_size                                  = s->width;
56 56
    pic_param->vertical_size                                    = s->height;
57
    pic_param->forward_reference_picture                        = 0xffffffff;
58
    pic_param->backward_reference_picture                       = 0xffffffff;
57
    pic_param->forward_reference_picture                        = VA_INVALID_ID;
58
    pic_param->backward_reference_picture                       = VA_INVALID_ID;
59 59
    pic_param->picture_coding_type                              = s->pict_type;
60 60
    pic_param->f_code                                           = mpeg2_get_f_code(s);
61 61
    pic_param->picture_coding_extension.value                   = 0; /* reset all bits */

Also available in: Unified diff