Commit 44391f70 authored by Michael Niedermayer's avatar Michael Niedermayer

lavfutils: ff_load_image: Initialize context

should fix  ticket1264
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 6bb35f43
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment