[vlc-commits] DirectSound: fix bytes per frame count (fixes #7835)
Rémi Denis-Courmont
git at videolan.org
Sun Dec 2 08:58:21 CET 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Dec 2 09:57:39 2012 +0200| [45755c4d17aa5c36231b64a89790a19ec0bdf371] | committer: Rémi Denis-Courmont
DirectSound: fix bytes per frame count (fixes #7835)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=45755c4d17aa5c36231b64a89790a19ec0bdf371
---
modules/audio_output/packet.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/audio_output/packet.c b/modules/audio_output/packet.c
index bbbd011..48f7491 100644
--- a/modules/audio_output/packet.c
+++ b/modules/audio_output/packet.c
@@ -141,6 +141,7 @@ void aout_PacketInit (audio_output_t *aout, aout_packet_t *p, unsigned samples,
vlc_mutex_init (&p->lock);
p->format = *fmt;
+ aout_FormatPrepare (&p->format);
aout_FifoInit (&p->partial, p->format.i_rate);
aout_FifoInit (&p->fifo, p->format.i_rate);
p->pause_date = VLC_TS_INVALID;
More information about the vlc-commits
mailing list