mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-03 18:53:13 +00:00
vf_overlay: silence warning: X may be used uninitialized in this function
Also ensure that format is valid in query_formats Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3c14c82b7e
commit
cfcab4c507
@ -195,6 +195,8 @@ static int query_formats(AVFilterContext *ctx)
|
||||
main_formats = ff_make_format_list(main_pix_fmts_rgb);
|
||||
overlay_formats = ff_make_format_list(overlay_pix_fmts_rgb);
|
||||
break;
|
||||
default:
|
||||
av_assert0(0);
|
||||
}
|
||||
|
||||
ff_formats_ref(main_formats, &ctx->inputs [MAIN ]->out_formats);
|
||||
|
Loading…
x
Reference in New Issue
Block a user