Mercurial > libavcodec.hg
diff mlpdec.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 | d73cd240d68c |
children | 9149588e5cc9 |
line wrap: on
line diff
--- a/mlpdec.c Sat Dec 06 16:19:44 2008 +0000 +++ b/mlpdec.c Sat Dec 06 16:28:48 2008 +0000 @@ -297,7 +297,7 @@ 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; }