lavfutils: ff_load_image: Initialize context

should fix  ticket1264

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/30/merge
Michael Niedermayer 13 years ago
parent 6bb35f4351
commit 44391f706b
  1. 2
      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;

Loading…
Cancel
Save