[FFmpeg-cvslog] r24498 - trunk/libavcodec/vp8.c
cehoyos
subversion
Sun Jul 25 16:49:45 CEST 2010
Author: cehoyos
Date: Sun Jul 25 16:49:45 2010
New Revision: 24498
Log:
Fix r24445: Instead of needlessly initialising a variable, silence the warning.
Modified:
trunk/libavcodec/vp8.c
Modified: trunk/libavcodec/vp8.c
==============================================================================
--- trunk/libavcodec/vp8.c Sun Jul 25 16:42:32 2010 (r24497)
+++ trunk/libavcodec/vp8.c Sun Jul 25 16:49:45 2010 (r24498)
@@ -1460,7 +1460,7 @@ static int vp8_decode_frame(AVCodecConte
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;
More information about the ffmpeg-cvslog
mailing list