Revision e6d3534f libavcodec/vaapi_vc1.c

View differences:

libavcodec/vaapi_vc1.c
145 145
    pic_param = ff_vaapi_alloc_pic_param(vactx, sizeof(VAPictureParameterBufferVC1));
146 146
    if (!pic_param)
147 147
        return -1;
148
    pic_param->forward_reference_picture                            = 0xffffffff;
149
    pic_param->backward_reference_picture                           = 0xffffffff;
150
    pic_param->inloop_decoded_picture                               = 0xffffffff;
148
    pic_param->forward_reference_picture                            = VA_INVALID_ID;
149
    pic_param->backward_reference_picture                           = VA_INVALID_ID;
150
    pic_param->inloop_decoded_picture                               = VA_INVALID_ID;
151 151
    pic_param->sequence_fields.value                                = 0; /* reset all bits */
152 152
    pic_param->sequence_fields.bits.pulldown                        = v->broadcast;
153 153
    pic_param->sequence_fields.bits.interlace                       = v->interlace;

Also available in: Unified diff