From d59f92c0af8644112076b2e670c62377eec85ce6 Mon Sep 17 00:00:00 2001 From: linyuhui Date: Thu, 20 Oct 2016 20:44:49 +0800 Subject: [PATCH] [h264d]: remove dpb error flag error over-mark Change-Id: Idf5394bb48c02aa46dd7957ff1cda81d01d8a526 --- mpp/codec/dec/h264/h264d_api.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/mpp/codec/dec/h264/h264d_api.c b/mpp/codec/dec/h264/h264d_api.c index 9d368da5..ecd64b07 100644 --- a/mpp/codec/dec/h264/h264d_api.c +++ b/mpp/codec/dec/h264/h264d_api.c @@ -730,7 +730,6 @@ MPP_RET h264d_parse(void *decoder, HalDecTask *in_task) in_task->syntax.number = p_Dec->dxva_ctx->syn.num; in_task->syntax.data = (void *)p_Dec->dxva_ctx->syn.buf; in_task->flags.used_for_ref = p_err->used_ref_flag; - p_err->dpb_err_flag |= p_err->used_ref_flag ? p_err->cur_err_flag : 0; in_task->flags.had_error = (p_err->dpb_err_flag | p_err->cur_err_flag) ? 1 : 0; } __RETURN: @@ -762,7 +761,6 @@ __FAILED: { MPP_FREE(dec_pic); p_Dec->p_Vid->dec_pic = NULL; } - p_err->dpb_err_flag |= p_err->used_ref_flag ? 1 : 0; } return ret;