We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07287d5 commit a2b1988Copy full SHA for a2b1988
src/torchcodec/decoders/_core/FFMPEGCommon.cpp
@@ -84,7 +84,7 @@ void setChannelLayout(
84
#if LIBAVFILTER_VERSION_MAJOR > 7 // FFmpeg > 4
85
dstAVFrame->ch_layout = srcAVFrame->ch_layout;
86
#else
87
- dstAVFrame->channel_layout = avFrame->channel_layout;
+ dstAVFrame->channel_layout = srcAVFrame->channel_layout;
88
#endif
89
}
90
0 commit comments