aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2021-03-04 20:34:36 +0100
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2021-03-04 22:22:36 +0100
commitb6fe10fa39bbbb2f186c3f2a4adefc3b387774ef (patch)
tree1f30d8b1e3c1697b745d4b46c14e06dda435de42 /libavformat
parent088f35f0364b3a1881f40c4ea097763c46b7d886 (diff)
downloadffmpeg-b6fe10fa39bbbb2f186c3f2a4adefc3b387774ef.tar.gz
lavf/sga: Silence several warnings because of wrong format specifiers.
Fixes warnings like: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument n has type ‘uint64_t’
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/sga.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/sga.c b/libavformat/sga.c
index 20da423ebf..e7a41e91ea 100644
--- a/libavformat/sga.c
+++ b/libavformat/sga.c
@@ -232,11 +232,11 @@ static void print_stats(AVFormatContext *s, const char *where)
SGADemuxContext *sga = s->priv_data;
av_log(s, AV_LOG_DEBUG, "START %s\n", where);
- av_log(s, AV_LOG_DEBUG, "pos: %lX\n", avio_tell(s->pb));
+ av_log(s, AV_LOG_DEBUG, "pos: %"PRIX64"\n", avio_tell(s->pb));
av_log(s, AV_LOG_DEBUG, "idx: %X\n", sga->idx);
av_log(s, AV_LOG_DEBUG, "packet_type: %X\n", sga->packet_type);
av_log(s, AV_LOG_DEBUG, "payload_size: %X\n", sga->payload_size);
- av_log(s, AV_LOG_DEBUG, "SECTOR: %016lX\n", AV_RB64(sga->sector));
+ av_log(s, AV_LOG_DEBUG, "SECTOR: %016"PRIX64"\n", AV_RB64(sga->sector));
av_log(s, AV_LOG_DEBUG, "stream: %X\n", sga->sector[1]);
av_log(s, AV_LOG_DEBUG, "END %s\n", where);
}
@@ -300,7 +300,7 @@ static int sga_video_packet(AVFormatContext *s, AVPacket *pkt)
sga->flags = 0;
update_type_size(s);
- av_log(s, AV_LOG_DEBUG, "VIDEO PACKET: %d:%016lX i:%X\n", pkt->size, AV_RB64(sga->sector), sga->idx);
+ av_log(s, AV_LOG_DEBUG, "VIDEO PACKET: %d:%016"PRIX64" i:%X\n", pkt->size, AV_RB64(sga->sector), sga->idx);
return 0;
}
@@ -347,7 +347,7 @@ static int sga_audio_packet(AVFormatContext *s, AVPacket *pkt)
sga->flags = 0;
update_type_size(s);
- av_log(s, AV_LOG_DEBUG, "AUDIO PACKET: %d:%016lX i:%X\n", pkt->size, AV_RB64(sga->sector), sga->idx);
+ av_log(s, AV_LOG_DEBUG, "AUDIO PACKET: %d:%016"PRIX64" i:%X\n", pkt->size, AV_RB64(sga->sector), sga->idx);
return 0;
}