mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
vf_mp: check list in querry_format()
Fixes CID717772 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
31fdf3065d
commit
042a738b45
@ -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
|
//We assume all allowed input formats are also allowed output formats
|
||||||
ff_set_common_formats(ctx, avfmts);
|
ff_set_common_formats(ctx, avfmts);
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user