[vlc-commits] wasapi: fix overflow after a few hours
Rémi Denis-Courmont
git at videolan.org
Wed Mar 12 21:45:12 CET 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Mar 12 22:44:30 2014 +0200| [a9e0818e6e3b23e844dc2d8bcede16edc295110e] | committer: Rémi Denis-Courmont
wasapi: fix overflow after a few hours
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a9e0818e6e3b23e844dc2d8bcede16edc295110e
---
modules/audio_output/wasapi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/audio_output/wasapi.c b/modules/audio_output/wasapi.c
index ea58ad6..6d1f678 100644
--- a/modules/audio_output/wasapi.c
+++ b/modules/audio_output/wasapi.c
@@ -75,7 +75,7 @@ typedef struct aout_stream_sys
vlc_fourcc_t format; /**< Sample format */
unsigned rate; /**< Sample rate */
unsigned bytes_per_frame;
- UINT32 written; /**< Frames written to the buffer */
+ UINT64 written; /**< Frames written to the buffer */
UINT32 frames; /**< Total buffer size (frames) */
} aout_stream_sys_t;
More information about the vlc-commits
mailing list