diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-02-25 02:41:42 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-02-25 02:41:42 +0100 |
commit | 3d3b603f7f834dad919a3334506a1e5414d7368a (patch) | |
tree | 4ac645d815ce72d6f802db65e2051968002dd644 /libavcodec/a64multienc.c | |
parent | 418403662bc5d25f22289b208127175f73b9d298 (diff) | |
download | ffmpeg-3d3b603f7f834dad919a3334506a1e5414d7368a.tar.gz |
a64multienc: fix "warning: buf may be used uninitialized in this function"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/a64multienc.c')
-rw-r--r-- | libavcodec/a64multienc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/a64multienc.c b/libavcodec/a64multienc.c index ed8dde552c..0d88f72e34 100644 --- a/libavcodec/a64multienc.c +++ b/libavcodec/a64multienc.c @@ -254,7 +254,7 @@ static int a64multi_encode_frame(AVCodecContext *avctx, AVPacket *pkt, int b_width; int req_size, ret; - uint8_t *buf; + uint8_t *buf = NULL; int *charmap = c->mc_charmap; uint8_t *colram = c->mc_colram; |