Revision e6d3534f libavcodec/vaapi_mpeg4.c

View differences:

libavcodec/vaapi_mpeg4.c
56 56
        return -1;
57 57
    pic_param->vop_width                                = s->width;
58 58
    pic_param->vop_height                               = s->height;
59
    pic_param->forward_reference_picture                = 0xffffffff;
60
    pic_param->backward_reference_picture               = 0xffffffff;
59
    pic_param->forward_reference_picture                = VA_INVALID_ID;
60
    pic_param->backward_reference_picture               = VA_INVALID_ID;
61 61
    pic_param->vol_fields.value                         = 0; /* reset all bits */
62 62
    pic_param->vol_fields.bits.short_video_header       = avctx->codec->id == CODEC_ID_H263;
63 63
    pic_param->vol_fields.bits.chroma_format            = CHROMA_420;

Also available in: Unified diff