]> jfr.im git - yt-dlp.git/commitdiff
[ExtractAudio] Bugfix for 1de75fa129775b6d1ea57686299e0aeadb9a8ab8
authorpukkandan <redacted>
Tue, 16 Feb 2021 09:28:12 +0000 (14:58 +0530)
committerpukkandan <redacted>
Tue, 16 Feb 2021 09:30:54 +0000 (15:00 +0530)
Fixes: #58
:ci skip dl

youtube_dlc/postprocessor/ffmpeg.py

index 292af9aa8ed32b922b8287bdc85023c02a4900cc..c319cc4290f0ab930788b6a045d06e0e8ccd5b43 100644 (file)
@@ -307,6 +307,7 @@ def run(self, information):
 
         if self._preferredcodec == 'best' and orig_ext in self.COMMON_AUDIO_EXTENSIONS:
             self.to_screen('Skipping audio extraction since the file is already in a common audio format')
+            return [], information
 
         filecodec = self.get_audio_codec(path)
         if filecodec is None: