diff options
author | James Almer <jamrial@gmail.com> | 2022-01-31 22:56:47 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-02-05 09:44:59 -0300 |
commit | 928e7c60cc5f220e931df51392b5577b253ffa23 (patch) | |
tree | d5fe32096d5fdfff9c787684f3499440eb80beab /libavformat | |
parent | 22d6d2b4818f3b1b451d1b4c4dd3d484e3040261 (diff) | |
download | ffmpeg-928e7c60cc5f220e931df51392b5577b253ffa23.tar.gz |
avformat/demux: print skip_samples and discard_padding as unsigned values in debug log
It's the type they should be interpreted as in the AV_PKT_DATA_SKIP_SAMPLES side
data.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/demux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/demux.c b/libavformat/demux.c index 09d539af68..4509015847 100644 --- a/libavformat/demux.c +++ b/libavformat/demux.c @@ -1360,7 +1360,8 @@ static int read_frame_internal(AVFormatContext *s, AVPacket *pkt) if (p) { AV_WL32(p, sti->skip_samples); AV_WL32(p + 4, discard_padding); - av_log(s, AV_LOG_DEBUG, "demuxer injecting skip %d / discard %d\n", sti->skip_samples, discard_padding); + av_log(s, AV_LOG_DEBUG, "demuxer injecting skip %u / discard %u\n", + (unsigned)sti->skip_samples, (unsigned)discard_padding); } sti->skip_samples = 0; } |