summaryrefslogtreecommitdiff
path: root/libavformat/mov_chan.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/mov_chan.c')
-rw-r--r--libavformat/mov_chan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mov_chan.c b/libavformat/mov_chan.c
index 94b93cf39c..19f657ad7c 100644
--- a/libavformat/mov_chan.c
+++ b/libavformat/mov_chan.c
@@ -586,9 +586,9 @@ int ff_mov_read_chan(AVFormatContext *s, AVIOContext *pb, AVStream *st,
}
if (layout_tag == 0) {
if (label_mask)
- st->codec->channel_layout = label_mask;
+ st->codecpar->channel_layout = label_mask;
} else
- st->codec->channel_layout = ff_mov_get_channel_layout(layout_tag, bitmap);
+ st->codecpar->channel_layout = ff_mov_get_channel_layout(layout_tag, bitmap);
return 0;
}