Skip to content

Commit a2b1988

Browse files
committed
Fix
1 parent 07287d5 commit a2b1988

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/torchcodec/decoders/_core/FFMPEGCommon.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ void setChannelLayout(
8484
#if LIBAVFILTER_VERSION_MAJOR > 7 // FFmpeg > 4
8585
dstAVFrame->ch_layout = srcAVFrame->ch_layout;
8686
#else
87-
dstAVFrame->channel_layout = avFrame->channel_layout;
87+
dstAVFrame->channel_layout = srcAVFrame->channel_layout;
8888
#endif
8989
}
9090

0 commit comments

Comments
 (0)