summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vpxenc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/vpxenc.c b/vpxenc.c
index 632bb19d9..3d8d95940 100644
--- a/vpxenc.c
+++ b/vpxenc.c
@@ -1615,14 +1615,14 @@ static void encode_frame(struct stream_state *stream,
vpx_img_alloc(NULL, VPX_IMG_FMT_I42016, cfg->g_w, cfg->g_h, 16);
}
I420Scale_16(
- (uint16 *)img->planes[VPX_PLANE_Y], img->stride[VPX_PLANE_Y] / 2,
- (uint16 *)img->planes[VPX_PLANE_U], img->stride[VPX_PLANE_U] / 2,
- (uint16 *)img->planes[VPX_PLANE_V], img->stride[VPX_PLANE_V] / 2,
- img->d_w, img->d_h, (uint16 *)stream->img->planes[VPX_PLANE_Y],
+ (uint16_t *)img->planes[VPX_PLANE_Y], img->stride[VPX_PLANE_Y] / 2,
+ (uint16_t *)img->planes[VPX_PLANE_U], img->stride[VPX_PLANE_U] / 2,
+ (uint16_t *)img->planes[VPX_PLANE_V], img->stride[VPX_PLANE_V] / 2,
+ img->d_w, img->d_h, (uint16_t *)stream->img->planes[VPX_PLANE_Y],
stream->img->stride[VPX_PLANE_Y] / 2,
- (uint16 *)stream->img->planes[VPX_PLANE_U],
+ (uint16_t *)stream->img->planes[VPX_PLANE_U],
stream->img->stride[VPX_PLANE_U] / 2,
- (uint16 *)stream->img->planes[VPX_PLANE_V],
+ (uint16_t *)stream->img->planes[VPX_PLANE_V],
stream->img->stride[VPX_PLANE_V] / 2, stream->img->d_w,
stream->img->d_h, kFilterBox);
img = stream->img;