mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
Fix r24445: Instead of needlessly initialising a variable, silence the warning.
Originally committed as revision 24498 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
639e4ec81b
commit
28e241de5d
@ -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…
x
Reference in New Issue
Block a user