summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-05-10 20:02:49 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-05-10 20:02:49 +0200
commit36ab79488e47d06d54e022822e2520eba07685db (patch)
tree149715191379072b905bc72a4bf78588ffb1dbca /ffmpeg.c
parentafcb67113da690dd9c56174f44a1c847ec3aa3c3 (diff)
ffmpeg: fix uninitialized variable warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index c5d78fe6d2..a8387c124d 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -878,7 +878,7 @@ static FilterGraph *init_simple_filtergraph(InputStream *ist, OutputStream *ost)
static void init_input_filter(FilterGraph *fg, AVFilterInOut *in)
{
- InputStream *ist;
+ InputStream *ist = NULL;
enum AVMediaType type = in->filter_ctx->input_pads[in->pad_idx].type;
int i;