Commit 33bb4435 authored by James Zern's avatar James Zern Committed by Gerrit Code Review

Merge "decode_with_drops.c: Cast away MSVC data loss warning."

parents 68d49038 6811dbc4
...@@ -120,7 +120,7 @@ int main(int argc, char **argv) { ...@@ -120,7 +120,7 @@ int main(int argc, char **argv) {
int skip; int skip;
const unsigned char *frame = vpx_video_reader_get_frame(reader, const unsigned char *frame = vpx_video_reader_get_frame(reader,
&frame_size); &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."); die_codec(&codec, "Failed to decode frame.");
++frame_cnt; ++frame_cnt;
......
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