From b098e1a4697573d5c501aceb863d89ebf1fcd5fd Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Wed, 23 Mar 2016 09:26:35 +0100 Subject: avcodec/dvaudiodec: now that we got samples, fix 12bit case Signed-off-by: Paul B Mahol --- libavcodec/dvaudiodec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/dvaudiodec.c') diff --git a/libavcodec/dvaudiodec.c b/libavcodec/dvaudiodec.c index faa9e5fb34..5aa2a95553 100644 --- a/libavcodec/dvaudiodec.c +++ b/libavcodec/dvaudiodec.c @@ -52,7 +52,7 @@ static av_cold int decode_init(AVCodecContext *avctx) } s->is_pal = s->block_size == 8640; - s->is_12bit = avctx->bits_per_raw_sample == 12; + s->is_12bit = avctx->bits_per_coded_sample == 12; avctx->sample_fmt = AV_SAMPLE_FMT_S16; avctx->channel_layout = AV_CH_LAYOUT_STEREO; -- cgit v1.2.3