Browse Source

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

Originally committed as revision 24498 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Carl Eugen Hoyos 15 years ago
parent
commit
28e241de5d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/vp8.c

+ 1
- 1
libavcodec/vp8.c View File

@@ -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;


Loading…
Cancel
Save