mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-24 17:12:34 +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)
|
const char *filename, void *log_ctx)
|
||||||
{
|
{
|
||||||
AVInputFormat *iformat = NULL;
|
AVInputFormat *iformat = NULL;
|
||||||
AVFormatContext *format_ctx;
|
AVFormatContext *format_ctx = NULL;
|
||||||
AVCodec *codec;
|
AVCodec *codec;
|
||||||
AVCodecContext *codec_ctx;
|
AVCodecContext *codec_ctx;
|
||||||
AVFrame *frame;
|
AVFrame *frame;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user