Commit 53228f47 authored by Michael Niedermayer's avatar Michael Niedermayer

avf_concat: init pointers to NULL for saftey and to avoid warning of uninitialized use.

Reviewed-by: 's avatarNicolas George <nicolas.george@normalesup.org>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent d59d39e1
...@@ -78,8 +78,8 @@ static int query_formats(AVFilterContext *ctx) ...@@ -78,8 +78,8 @@ static int query_formats(AVFilterContext *ctx)
{ {
ConcatContext *cat = ctx->priv; ConcatContext *cat = ctx->priv;
unsigned type, nb_str, idx0 = 0, idx, str, seg; unsigned type, nb_str, idx0 = 0, idx, str, seg;
AVFilterFormats *formats, *rates; AVFilterFormats *formats, *rates = NULL;
AVFilterChannelLayouts *layouts; AVFilterChannelLayouts *layouts = NULL;
for (type = 0; type < TYPE_ALL; type++) { for (type = 0; type < TYPE_ALL; type++) {
nb_str = cat->nb_streams[type]; nb_str = cat->nb_streams[type];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment