diff options
author | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2010-07-25 14:49:45 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2010-07-25 14:49:45 +0000 |
commit | 28e241de5daf6cc9feb767eb7f37daa413293477 (patch) | |
tree | bab9e270eff58c48fdd01378630096f2382114a2 /libavcodec/vp8.c | |
parent | 639e4ec81b2fc573f4d23c23305c41c0ef56dde5 (diff) | |
download | ffmpeg-28e241de5daf6cc9feb767eb7f37daa413293477.tar.gz |
Fix r24445: Instead of needlessly initialising a variable, silence the warning.
Originally committed as revision 24498 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp8.c')
-rw-r--r-- | libavcodec/vp8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c index 4fc5a4de91..2d1b502730 100644 --- a/libavcodec/vp8.c +++ b/libavcodec/vp8.c @@ -1460,7 +1460,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 = NULL; + AVFrame *av_uninit(curframe); if ((ret = decode_frame_header(s, avpkt->data, avpkt->size)) < 0) return ret; |