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

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-29 06:20:37 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-12-29 21:56:33 +0400
commit53228f47d6892b5c93db3df6c9a77aa88b8b7b5c (patch)
tree95e0a1f64b8c4b791dcb8080597c95399e6f2c45 /libavfilter/avf_concat.c
parentd59d39e1642569b68249c922ae01a59bfe52747b (diff)
avf_concat: init pointers to NULL for saftey and to avoid warning of uninitialized use.
Reviewed-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/avf_concat.c')
-rw-r--r--libavfilter/avf_concat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/avf_concat.c b/libavfilter/avf_concat.c
index 6be2c53778..079d55d564 100644
--- a/libavfilter/avf_concat.c
+++ b/libavfilter/avf_concat.c
@@ -78,8 +78,8 @@ static int query_formats(AVFilterContext *ctx)
{
ConcatContext *cat = ctx->priv;
unsigned type, nb_str, idx0 = 0, idx, str, seg;
- AVFilterFormats *formats, *rates;
- AVFilterChannelLayouts *layouts;
+ AVFilterFormats *formats, *rates = NULL;
+ AVFilterChannelLayouts *layouts = NULL;
for (type = 0; type < TYPE_ALL; type++) {
nb_str = cat->nb_streams[type];