fftools/ffmpeg_demux: prefer fd over pipe for seek support

Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
pull/388/head
Zhao Zhili 2 years ago
parent 244f3cfbe3
commit 52eb2396d7
  1. 2
      fftools/ffmpeg_demux.c

@ -883,7 +883,7 @@ int ifile_open(const OptionsContext *o, const char *filename)
}
if (!strcmp(filename, "-"))
filename = "pipe:";
filename = "fd:";
stdin_interaction &= strncmp(filename, "pipe:", 5) &&
strcmp(filename, "fd:") &&

Loading…
Cancel
Save