Commit 87d720f1 authored by Yaowu Xu's avatar Yaowu Xu
Browse files

Make size_t -> unsigned int conversion explicit

This fixes MSVC compiler warnings.

Change-Id: Iadd603a4ce2f944f708dff6b23005991cfa3d47a
parent 8f699e05
......@@ -174,7 +174,7 @@ int main(int argc, char **argv) {
aom_codec_control_(&codec, AV1_SET_DECODE_TILE_ROW, tile_t);
aom_codec_control_(&codec, AV1_SET_DECODE_TILE_COL, tile_s);
aom_codec_err_t aom_status =
aom_codec_decode(&codec, frame, frame_size, NULL, 0);
aom_codec_decode(&codec, frame, (unsigned int)frame_size, NULL, 0);
if (aom_status) die_codec(&codec, "Failed to decode tile.");
aom_codec_iter_t iter = NULL;
aom_image_t *img = aom_codec_get_frame(&codec, &iter);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment