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>
pull/374/head
James Almer 3 years ago
parent 7f6dc9b386
commit 47451d9267
  1. 2
      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;

Loading…
Cancel
Save