diff options
author | James Almer <jamrial@gmail.com> | 2021-11-12 13:02:34 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-11-13 11:38:01 -0300 |
commit | 47451d9267caf8f989530d0d7a1311f6205a2c21 (patch) | |
tree | 3a3e111aeaaf28dfcbc01220ddcb517d2f84c31f /libavdevice/dshow.c | |
parent | 7f6dc9b3868626f6d37ec747d84df973842d5d50 (diff) | |
download | ffmpeg-47451d9267caf8f989530d0d7a1311f6205a2c21.tar.gz |
avdevice/dshow: fix print format for some variables
WAVEFORMATEX.nChannels and WAVEFORMATEX.wBitsPerSample are of type WORD, aka
unsigned short.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavdevice/dshow.c')
-rw-r--r-- | libavdevice/dshow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c index e313c9a2bf..fd62d79443 100644 --- a/libavdevice/dshow.c +++ b/libavdevice/dshow.c @@ -425,7 +425,7 @@ dshow_cycle_formats(AVFormatContext *avctx, enum dshowDeviceType devtype, av_log( avctx, AV_LOG_INFO, - " ch=%2lu, bits=%2lu, rate=%6lu\n", + " ch=%2u, bits=%2u, rate=%6lu\n", fx->nChannels, fx->wBitsPerSample, fx->nSamplesPerSec ); continue; |