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:
parent
6bb35f4351
commit
44391f706b
@ -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…
Reference in New Issue
Block a user