changeset 18158:5b44c460d0c0

set audio_out_minsize, should avoid all "maxlen too small" cases
author reimar
date Wed, 19 Apr 2006 22:33:58 +0000
parents 2c7219c38e56
children e010214659b1
files libmpcodecs/ad_mpc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_mpc.c	Wed Apr 19 22:30:31 2006 +0000
+++ b/libmpcodecs/ad_mpc.c	Wed Apr 19 22:33:58 2006 +0000
@@ -100,7 +100,7 @@
 };
 
 static int preinit(sh_audio_t *sh) {
-//  sh->audio_out_minsize = 2 * MPC_DECODER_BUFFER_LENGTH;
+  sh->audio_out_minsize = 2 * MPC_DECODER_BUFFER_LENGTH;
   return 1;
 }