aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vp8.c
diff options
context:
space:
mode:
authorJason Garrett-Glaser <darkshikari@gmail.com>2010-07-22 23:04:51 +0000
committerJason Garrett-Glaser <darkshikari@gmail.com>2010-07-22 23:04:51 +0000
commit867215336debce9fe38f728ad5c74776a1965785 (patch)
treeee77695683c773cb2ea9af18cc33e53f389b8ca5 /libavcodec/vp8.c
parentc4211046d289cbc722ef51fda7470a70bdc698cb (diff)
downloadffmpeg-867215336debce9fe38f728ad5c74776a1965785.tar.gz
Shut up an uninitialized variable GCC warning in VP8.
Originally committed as revision 24445 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp8.c')
-rw-r--r--libavcodec/vp8.c2
1 files changed, 1 insertions, 1 deletions
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;