mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-22 07:20:45 +00:00
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:
parent
2de6cd4ba4
commit
0e22d2e59b
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user