[FFmpeg-cvslog] avcodec/dvaudiodec: set channel layout
Paul B Mahol
git at videolan.org
Wed Jan 27 11:21:30 CET 2016
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Jan 27 11:19:58 2016 +0100| [74e8f4f674466d7f0b6810954c7b496286d56d6c] | committer: Paul B Mahol
avcodec/dvaudiodec: set channel layout
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=74e8f4f674466d7f0b6810954c7b496286d56d6c
---
libavcodec/dvaudiodec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/dvaudiodec.c b/libavcodec/dvaudiodec.c
index 1df3edf..a0f3b19 100644
--- a/libavcodec/dvaudiodec.c
+++ b/libavcodec/dvaudiodec.c
@@ -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;
More information about the ffmpeg-cvslog
mailing list