mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-07-03 21:29:15 +00:00
A number of systems do not implement freopen() with a NULL filename correctly. This changes these programs to output individual images if opening a named output argument as a file fails, in this case assuming it is a directory. Signed-off-by: Mans Rullgard <mans@mansr.com>