decode_with_drops.c: Cast away MSVC data loss warning.

Change-Id: Ib8ee2b9a4cb785176ca1054489df5dced004837a
This commit is contained in:
Tom Finegan 2014-02-19 11:55:06 -08:00
parent e3178d0c1c
commit 6811dbc4c8

View File

@ -120,7 +120,7 @@ int main(int argc, char **argv) {
int skip;
const unsigned char *frame = vpx_video_reader_get_frame(reader,
&frame_size);
if (vpx_codec_decode(&codec, frame, frame_size, NULL, 0))
if (vpx_codec_decode(&codec, frame, (unsigned int)frame_size, NULL, 0))
die_codec(&codec, "Failed to decode frame.");
++frame_cnt;