1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

lavfutils: ff_load_image: Initialize context

should fix  ticket1264

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-05-11 15:04:38 +02:00
parent 6bb35f4351
commit 44391f706b

View File

@ -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;