mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +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