diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-05-11 15:04:38 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-05-11 15:07:26 +0200 |
commit | 44391f706b0be13e74b2432b57a6597b210a989c (patch) | |
tree | 252348d8e833e7609121b7002746ab7d849da2fd | |
parent | 6bb35f435129db1cc6aa0ca4b847408499010745 (diff) | |
download | ffmpeg-44391f706b0be13e74b2432b57a6597b210a989c.tar.gz |
lavfutils: ff_load_image: Initialize context
should fix ticket1264
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavfilter/lavfutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/lavfutils.c b/libavfilter/lavfutils.c index 412a05fe74..d98c3a6cde 100644 --- a/libavfilter/lavfutils.c +++ b/libavfilter/lavfutils.c @@ -24,7 +24,7 @@ int ff_load_image(uint8_t *data[4], int linesize[4], const char *filename, void *log_ctx) { AVInputFormat *iformat = NULL; - AVFormatContext *format_ctx; + AVFormatContext *format_ctx = NULL; AVCodec *codec; AVCodecContext *codec_ctx; AVFrame *frame; |