Shut up an uninitialized variable GCC warning in VP8.

Originally committed as revision 24445 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Jason Garrett-Glaser 2010-07-22 23:04:51 +00:00
parent c4211046d2
commit 867215336d
1 changed files with 1 additions and 1 deletions

View File

@ -1402,7 +1402,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;
AVFrame *curframe = NULL;
if ((ret = decode_frame_header(s, avpkt->data, avpkt->size)) < 0)
return ret;