mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
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’
This commit is contained in:
parent
088f35f036
commit
b6fe10fa39
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user