Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pydub/audio_segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,8 @@ def is_format(f):
read_ahead_limit = kwargs.get('read_ahead_limit', -1)
if filename:
conversion_command += ["-i", filename]
stdin_parameter = None
# stdin is not required in this mode, can discard it
stdin_parameter = subprocess.DEVNULL
stdin_data = None
else:
if cls.converter == 'ffmpeg':
Expand Down