summaryrefslogtreecommitdiff
path: root/libavcodec/mlpdec.c
diff options
context:
space:
mode:
authorMathieu Velten <matmaul@gmail.com>2008-12-06 16:28:48 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2008-12-06 16:28:48 +0000
commit97679e6e381971798da1dfcdd66b331240983d3d (patch)
tree2a373a6ce8d6822203f7b8396ef5036e0e82da94 /libavcodec/mlpdec.c
parentd98d70d697a9462d834ac52265abd8255c0b326c (diff)
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
Diffstat (limited to 'libavcodec/mlpdec.c')
-rw-r--r--libavcodec/mlpdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mlpdec.c b/libavcodec/mlpdec.c
index 7272458085..72f213cd13 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;
}