avcodec/libaomenc: remove the redundant initialization

For dst->have_sse will be assigned by ctx->have_sse soon(code line 23).

Reviewed-by: James Zern <jzern-at-google.com@ffmpeg.org>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
Limin Wang 2021-11-17 23:10:58 +08:00
parent 2de6cd4ba4
commit 0e22d2e59b

View File

@ -948,7 +948,6 @@ static inline void cx_pktcpy(AOMContext *ctx,
dst->sz = src->data.frame.sz;
dst->buf = src->data.frame.buf;
#ifdef AOM_FRAME_IS_INTRAONLY
dst->have_sse = 0;
dst->frame_number = ++ctx->frame_number;
dst->have_sse = ctx->have_sse;
if (ctx->have_sse) {