mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
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>
This commit is contained in:
parent
7f6dc9b386
commit
47451d9267
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user