mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
mov: Make format string match variable type.
This commit is contained in:
parent
f11b0e9543
commit
028a2375e2
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user