You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
vf_mp: check list in querry_format()
Fixes CID717772 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -787,6 +787,9 @@ static int query_formats(AVFilterContext *ctx)
|
||||
}
|
||||
}
|
||||
|
||||
if (!avfmts)
|
||||
return -1;
|
||||
|
||||
//We assume all allowed input formats are also allowed output formats
|
||||
ff_set_common_formats(ctx, avfmts);
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user