[FFmpeg-cvslog] ffmpeg: fix uninitialized variable warning
Michael Niedermayer
git at videolan.org
Thu May 10 20:13:13 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu May 10 20:02:49 2012 +0200| [36ab79488e47d06d54e022822e2520eba07685db] | committer: Michael Niedermayer
ffmpeg: fix uninitialized variable warning
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=36ab79488e47d06d54e022822e2520eba07685db
---
ffmpeg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ffmpeg.c b/ffmpeg.c
index c5d78fe..a8387c1 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;
More information about the ffmpeg-cvslog
mailing list