From f37e2862ce9d17d5f0f395156590d6326417e708 Mon Sep 17 00:00:00 2001 From: Xiao YiFang Date: Sat, 12 Nov 2022 17:27:16 +0800 Subject: [PATCH] remove commented line --- ffmpegaudio.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ffmpegaudio.cc b/ffmpegaudio.cc index 78f2efd6..8e410fad 100644 --- a/ffmpegaudio.cc +++ b/ffmpegaudio.cc @@ -239,12 +239,6 @@ bool DecoderContext::openCodec( QString & errorString ) gdDebug( "Codec open: %s: channels: %d, rate: %d, format: %s\n", codec_->long_name, codecContext_->channels, codecContext_->sample_rate, av_get_sample_fmt_name( codecContext_->sample_fmt ) ); -// if ( codecContext_->sample_fmt == AV_SAMPLE_FMT_S32 || -// codecContext_->sample_fmt == AV_SAMPLE_FMT_S32P || -// codecContext_->sample_fmt == AV_SAMPLE_FMT_FLT || -// codecContext_->sample_fmt == AV_SAMPLE_FMT_FLTP || -// codecContext_->sample_fmt == AV_SAMPLE_FMT_DBL || -// codecContext_->sample_fmt == AV_SAMPLE_FMT_DBLP ) { swr_ = swr_alloc_set_opts( NULL, av_get_default_channel_layout(2),