mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-19 05:40:56 +00:00
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>
This commit is contained in:
parent
22d6d2b481
commit
928e7c60cc
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user