aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--youtube_dl/PostProcessor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/PostProcessor.py b/youtube_dl/PostProcessor.py
index e0b071a9c..6da24f986 100644
--- a/youtube_dl/PostProcessor.py
+++ b/youtube_dl/PostProcessor.py
@@ -108,7 +108,7 @@ class FFmpegExtractAudioPP(PostProcessor):
acodec_opts = []
else:
acodec_opts = ['-acodec', codec]
- if self._nopostoverwrites:
+ if self._nopostoverwrites and self._exes['ffmpeg']:
overwrite_opts = '-n'
else:
overwrite_opts = '-y'