Commit 028a2375 authored by Alex Converse's avatar Alex Converse

mov: Make format string match variable type.

parent f11b0e95
......@@ -89,7 +89,7 @@ static int mov_metadata_int8_bypass_padding(MOVContext *c, AVIOContext *pb,
avio_r8(pb);
avio_r8(pb);
snprintf(buf, sizeof(buf), "%hu", avio_r8(pb));
snprintf(buf, sizeof(buf), "%d", avio_r8(pb));
av_dict_set(&c->fc->metadata, key, buf, 0);
return 0;
......@@ -100,7 +100,7 @@ static int mov_metadata_int8_no_padding(MOVContext *c, AVIOContext *pb,
{
char buf[16];
snprintf(buf, sizeof(buf), "%hu", avio_r8(pb));
snprintf(buf, sizeof(buf), "%d", avio_r8(pb));
av_dict_set(&c->fc->metadata, key, buf, 0);
return 0;
......
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