Skip to content

Commit cbfba11

Browse files
committed
updated variables in python files
1 parent 968b30f commit cbfba11

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/torchcodec/_core/Encoder.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,6 @@ void AudioEncoder::initializeEncoder(
195195
// which is what the `.sample_fmt` defines.
196196
avCodecContext_->sample_fmt = findBestOutputSampleFormat(*avCodec);
197197

198-
setDefaultChannelLayout(
199-
avCodecContext_, static_cast<int>(samples_.sizes()[0]));
200-
201198
int status = avcodec_open2(avCodecContext_.get(), avCodec, nullptr);
202199
TORCH_CHECK(
203200
status == AVSUCCESS,

0 commit comments

Comments
 (0)