mirror of https://git.ffmpeg.org/ffmpeg.git
a64multienc: fix "warning: buf may be used uninitialized in this function"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
418403662b
commit
3d3b603f7f
|
@ -254,7 +254,7 @@ static int a64multi_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
|
||||||
int b_width;
|
int b_width;
|
||||||
|
|
||||||
int req_size, ret;
|
int req_size, ret;
|
||||||
uint8_t *buf;
|
uint8_t *buf = NULL;
|
||||||
|
|
||||||
int *charmap = c->mc_charmap;
|
int *charmap = c->mc_charmap;
|
||||||
uint8_t *colram = c->mc_colram;
|
uint8_t *colram = c->mc_colram;
|
||||||
|
|
Loading…
Reference in New Issue