summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/ad_alaw.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs/ad_alaw.c')
-rw-r--r--libmpcodecs/ad_alaw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/ad_alaw.c b/libmpcodecs/ad_alaw.c
index 2f3ec43985..69a1be0536 100644
--- a/libmpcodecs/ad_alaw.c
+++ b/libmpcodecs/ad_alaw.c
@@ -33,7 +33,7 @@ static int preinit(sh_audio_t *sh)
{
sh->audio_out_minsize=2048;
sh->ds->ss_div = 1; // 1 samples/packet
- sh->ds->ss_mul = 1; // 1 bytes/packet
+ sh->ds->ss_mul = sh->wf->nChannels; // bytes/packet
return 1;
}