ffmpeg | branch: master | Limin Wang <[email protected]> | Wed Nov 17 23:10:58 2021 +0800| [0e22d2e59b4231a8e0e4bcca56b3f123b9474147] | committer: Limin Wang
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 <[email protected]> Signed-off-by: Limin Wang <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0e22d2e59b4231a8e0e4bcca56b3f123b9474147 --- libavcodec/libaomenc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/libaomenc.c b/libavcodec/libaomenc.c index 800fda0591..963cc1bcbc 100644 --- a/libavcodec/libaomenc.c +++ b/libavcodec/libaomenc.c @@ -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) { _______________________________________________ ffmpeg-cvslog mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
