Revision ce5e49b0 libavcodec/vp8.c

View differences:

libavcodec/vp8.c
1493 1493
        avctx->release_buffer(avctx, curframe);
1494 1494

  
1495 1495
    curframe->key_frame = s->keyframe;
1496
    curframe->pict_type = s->keyframe ? FF_I_TYPE : FF_P_TYPE;
1496
    curframe->pict_type = s->keyframe ? AV_PICTURE_TYPE_I : AV_PICTURE_TYPE_P;
1497 1497
    curframe->reference = referenced ? 3 : 0;
1498 1498
    if ((ret = avctx->get_buffer(avctx, curframe))) {
1499 1499
        av_log(avctx, AV_LOG_ERROR, "get_buffer() failed!\n");

Also available in: Unified diff