diff options
author | wm4 <wm4@nowhere> | 2015-06-27 17:59:27 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-06-27 17:59:27 +0200 |
commit | 6ffb1e2b661464bc31e2cfffd1d77727f27e1561 (patch) | |
tree | a54a499dca4f01e48510cdbb696068996005182b /audio/out/ao_wasapi_utils.c | |
parent | 2a67208f4075e65c47772be9ec52371a520d85fd (diff) | |
download | mpv-6ffb1e2b661464bc31e2cfffd1d77727f27e1561.tar.bz2 mpv-6ffb1e2b661464bc31e2cfffd1d77727f27e1561.tar.xz |
ao_wasapi: fix regression
This probably fixes the regression introduced with commit 6147bcce.
Diffstat (limited to 'audio/out/ao_wasapi_utils.c')
-rwxr-xr-x | audio/out/ao_wasapi_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_wasapi_utils.c b/audio/out/ao_wasapi_utils.c index d7dc3ad07f..fd65cc82eb 100755 --- a/audio/out/ao_wasapi_utils.c +++ b/audio/out/ao_wasapi_utils.c @@ -310,7 +310,7 @@ static int format_from_waveformat(WAVEFORMATEX *wf) // configured "special" formats, otherwise it will return 0. if (wf->wBitsPerSample % 8) return 0; - return af_fmt_change_bytes(format, wf->wBitsPerSample / 8) * 8; + return af_fmt_change_bytes(format, wf->wBitsPerSample / 8); } static bool chmap_from_waveformat(struct mp_chmap *channels, const WAVEFORMATEX *wf) |