A feature-rich command-line audio/video downloader
[downloader/external:ffmpegfd] check for None value of start_time
remitaminef34294fa0c00
diff --git a/youtube_dl/downloader/external.py b/youtube_dl/downloader/external.pyindex edf85483ba..a4fdf1af80 100644--- a/youtube_dl/downloader/external.py+++ b/youtube_dl/downloader/external.py@@ -175,7 +175,7 @@ class FFmpegFD(ExternalFD):args = [ffpp.executable, '-y']- start_time = info_dict.get('start_time', 0)+ start_time = info_dict.get('start_time') or 0if start_time:args += ['-ss', compat_str(start_time)]end_time = info_dict.get('end_time')