changeset 12232:870599d1eb36 libavcodec

Shut up a GCC warning in VP8
author darkshikari
date Thu, 22 Jul 2010 23:04:51 +0000
parents d3f3897ddb5c
children 10b02cbc3cc2
files vp8.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vp8.c	Thu Jul 22 23:03:08 2010 +0000
+++ b/vp8.c	Thu Jul 22 23:04:51 2010 +0000
@@ -1402,7 +1402,7 @@
     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;