From 28e241de5daf6cc9feb767eb7f37daa413293477 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sun, 25 Jul 2010 14:49:45 +0000 Subject: [PATCH] Fix r24445: Instead of needlessly initialising a variable, silence the warning. Originally committed as revision 24498 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vp8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c index 4fc5a4d..2d1b502 100644 --- a/libavcodec/vp8.c +++ b/libavcodec/vp8.c @@ -1460,7 +1460,7 @@ static int vp8_decode_frame(AVCodecContext *avctx, void *data, int *data_size, VP8Context *s = avctx->priv_data; int ret, mb_x, mb_y, i, y, referenced; enum AVDiscard skip_thresh; - AVFrame *curframe = NULL; + AVFrame *av_uninit(curframe); if ((ret = decode_frame_header(s, avpkt->data, avpkt->size)) < 0) return ret; -- 2.7.4