changeset 12270:161c205dcdd2 libavcodec

Fix r24445: Instead of needlessly initialising a variable, silence the warning.
author cehoyos
date Sun, 25 Jul 2010 14:49:45 +0000
parents 40d7fc8c7850
children b805a2660a00
files vp8.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vp8.c	Sun Jul 25 14:33:16 2010 +0000
+++ b/vp8.c	Sun Jul 25 14:49:45 2010 +0000
@@ -1460,7 +1460,7 @@
     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;