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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue