Identifies and sets demuxer based on extension if short name search
fails.
---
fftools/ffmpeg_opt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c
index 1510e026ea..9e1055495b 100644
--- a/fftools/ffmpeg_opt.c
+++ b/fftools/ffmpeg_opt.c
@@ -1026,7 +1026,7 @@ static int open_input_file(OptionsContext *o, const char
*filename)
}
if (o->format) {
- if (!(file_iformat = av_find_input_format(o->format))) {
+ if (!(file_iformat = av_find_input_format2(o->format, 1))) {
av_log(NULL, AV_LOG_FATAL, "Unknown input format: '%s'\n",
o->format);
exit_program(1);
}
--
2.24.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".