Commit 28e241de authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Fix r24445: Instead of needlessly initialising a variable, silence the warning.

Originally committed as revision 24498 to svn://
parent 639e4ec8
......@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment