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(
|
av_log(
|
||||||
avctx,
|
avctx,
|
||||||
AV_LOG_INFO,
|
AV_LOG_INFO,
|
||||||
" ch=%2lu, bits=%2lu, rate=%6lu\n",
|
" ch=%2u, bits=%2u, rate=%6lu\n",
|
||||||
fx->nChannels, fx->wBitsPerSample, fx->nSamplesPerSec
|
fx->nChannels, fx->wBitsPerSample, fx->nSamplesPerSec
|
||||||
);
|
);
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user