a64multienc: fix "warning: buf may be used uninitialized in this function"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-02-25 02:41:42 +01:00
parent 418403662b
commit 3d3b603f7f
1 changed files with 1 additions and 1 deletions

View File

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