diff mlp_parser.c @ 8274:82dbfe8d2e0b libavcodec

mlp: Fix compilation under CONFIG_AUDIO_NONSHORT. Patch by Mathieu Velten < matmaul at gmail dot com >
author ramiro
date Sat, 06 Dec 2008 16:28:48 +0000
parents 45cfe1d44e86
children 9149588e5cc9
line wrap: on
line diff
--- a/mlp_parser.c	Sat Dec 06 16:19:44 2008 +0000
+++ b/mlp_parser.c	Sat Dec 06 16:28:48 2008 +0000
@@ -252,8 +252,8 @@
             goto lost_sync;
 
 #ifdef CONFIG_AUDIO_NONSHORT
-        avctx->bits_per_sample = mh.group1_bits;
-        if (avctx->bits_per_sample > 16)
+        avctx->bits_per_raw_sample = mh.group1_bits;
+        if (avctx->bits_per_raw_sample > 16)
             avctx->sample_fmt = SAMPLE_FMT_S32;
 #endif
         avctx->sample_rate = mh.group1_samplerate;