Index: source/libvpx/vp9/vp9_dx_iface.c |
=================================================================== |
--- source/libvpx/vp9/vp9_dx_iface.c (revision 176396) |
+++ source/libvpx/vp9/vp9_dx_iface.c (working copy) |
@@ -573,7 +573,7 @@ |
image2yuvconfig(&frame->img, &sd); |
- return vp9_set_reference_dec(ctx->pbi, frame->frame_type, &sd); |
+ return vp9_set_reference_dec(ctx->pbi, (VP9_REFFRAME)frame->frame_type, &sd); |
} else |
return VPX_CODEC_INVALID_PARAM; |
@@ -591,7 +591,7 @@ |
image2yuvconfig(&frame->img, &sd); |
- return vp9_get_reference_dec(ctx->pbi, frame->frame_type, &sd); |
+ return vp9_get_reference_dec(ctx->pbi, (VP9_REFFRAME)frame->frame_type, &sd); |
} else |
return VPX_CODEC_INVALID_PARAM; |