|
|
@@ -1402,7 +1402,7 @@ static int vp8_decode_frame(AVCodecContext *avctx, void *data, int *data_size, |
|
|
VP8Context *s = avctx->priv_data; |
|
|
VP8Context *s = avctx->priv_data; |
|
|
int ret, mb_x, mb_y, i, y, referenced; |
|
|
int ret, mb_x, mb_y, i, y, referenced; |
|
|
enum AVDiscard skip_thresh; |
|
|
enum AVDiscard skip_thresh; |
|
|
AVFrame *curframe; |
|
|
|
|
|
|
|
|
AVFrame *curframe = NULL; |
|
|
|
|
|
|
|
|
if ((ret = decode_frame_header(s, avpkt->data, avpkt->size)) < 0) |
|
|
if ((ret = decode_frame_header(s, avpkt->data, avpkt->size)) < 0) |
|
|
return ret; |
|
|
return ret; |
|
|
|