diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-02-23 12:10:35 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-02-23 12:10:35 +0100 |
commit | cfcab4c50747c2f9ab248bff537058d6d0037e6b (patch) | |
tree | 069c4360eaa0a71100306fce602f94aa9f927052 | |
parent | 3c14c82b7e01b75aa360e86a1beba63af2e04b63 (diff) | |
download | ffmpeg-cfcab4c50747c2f9ab248bff537058d6d0037e6b.tar.gz |
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>
-rw-r--r-- | libavfilter/vf_overlay.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c index 39220b6aa4..981225581b 100644 --- a/libavfilter/vf_overlay.c +++ b/libavfilter/vf_overlay.c @@ -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); |