Skip to content
Snippets Groups Projects
Commit 74e8f4f6 authored by Paul B Mahol's avatar Paul B Mahol
Browse files

avcodec/dvaudiodec: set channel layout


Signed-off-by: default avatarPaul B Mahol <onemda@gmail.com>
parent ce404b4d
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
s->is_12bit = avctx->bits_per_raw_sample == 12;
avctx->sample_fmt = AV_SAMPLE_FMT_S16;
avctx->channel_layout = AV_CH_LAYOUT_STEREO;
for (i = 0; i < FF_ARRAY_ELEMS(s->shuffle); i++) {
const unsigned a = s->is_pal ? 18 : 15;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment