]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/mov_chan.c
avformat/framehash: enable new output
[ffmpeg] / libavformat / mov_chan.c
index cba07c51e5fae1ef70e81aced7cee8a5a1d8540d..dc8bf8dccc31fa6cf5d4f7ac50421a7e63917213 100644 (file)
@@ -588,9 +588,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);
     avio_skip(pb, size - 12);
 
     return 0;