Revision ce5e49b0 libavcodec/libvpxenc.c

View differences:

libavcodec/libvpxenc.c
358 358
        coded_frame->key_frame = !!(cx_frame->flags & VPX_FRAME_IS_KEY);
359 359

  
360 360
        if (coded_frame->key_frame)
361
            coded_frame->pict_type = FF_I_TYPE;
361
            coded_frame->pict_type = AV_PICTURE_TYPE_I;
362 362
        else
363
            coded_frame->pict_type = FF_P_TYPE;
363
            coded_frame->pict_type = AV_PICTURE_TYPE_P;
364 364
    } else {
365 365
        av_log(avctx, AV_LOG_ERROR,
366 366
               "Compressed frame larger than storage provided! (%zu/%d)\n",

Also available in: Unified diff