Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-02-23 15:10:35 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-02-23 15:10:35 +0400
commitcfcab4c50747c2f9ab248bff537058d6d0037e6b (patch)
tree069c4360eaa0a71100306fce602f94aa9f927052 /libavfilter/vf_overlay.c
parent3c14c82b7e01b75aa360e86a1beba63af2e04b63 (diff)
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>
Diffstat (limited to 'libavfilter/vf_overlay.c')
-rw-r--r--libavfilter/vf_overlay.c2
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);