From 97679e6e381971798da1dfcdd66b331240983d3d Mon Sep 17 00:00:00 2001 From: Mathieu Velten Date: Sat, 6 Dec 2008 16:28:48 +0000 Subject: mlp: Fix compilation under CONFIG_AUDIO_NONSHORT. Patch by Mathieu Velten < matmaul at gmail dot com > Originally committed as revision 16021 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mlpdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/mlpdec.c') diff --git a/libavcodec/mlpdec.c b/libavcodec/mlpdec.c index 7272458..72f213c 100644 --- a/libavcodec/mlpdec.c +++ b/libavcodec/mlpdec.c @@ -297,7 +297,7 @@ static int read_major_sync(MLPDecodeContext *m, GetBitContext *gb) m->avctx->frame_size = mh.access_unit_size; #ifdef CONFIG_AUDIO_NONSHORT - m->avctx->bits_per_sample = mh.group1_bits; + m->avctx->bits_per_raw_sample = mh.group1_bits; if (mh.group1_bits > 16) { m->avctx->sample_fmt = SAMPLE_FMT_S32; } -- cgit v1.1