From 867215336debce9fe38f728ad5c74776a1965785 Mon Sep 17 00:00:00 2001 From: Jason Garrett-Glaser Date: Thu, 22 Jul 2010 23:04:51 +0000 Subject: [PATCH] Shut up an uninitialized variable GCC warning in VP8. Originally committed as revision 24445 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 ead4dd894a..9ab596fa6d 100644 --- a/libavcodec/vp8.c +++ b/libavcodec/vp8.c @@ -1402,7 +1402,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; + AVFrame *curframe = NULL; if ((ret = decode_frame_header(s, avpkt->data, avpkt->size)) < 0) return ret;