Skip to content
Snippets Groups Projects
Commit 53228f47 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

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

parent d59d39e1
No related branches found
No related tags found
No related merge requests found
...@@ -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];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment