ffmpeg | branch: release/4.4 | Timo Rothenpieler <t...@rothenpieler.org> | Mon Jan 10 15:41:50 2022 +0100| [458c00ea0b15cb2a105bd33967e432baa1db740a] | committer: Timo Rothenpieler
avcodec/nvenc: zero-initialize NV_ENC_REGISTER_RESOURCE struct > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=458c00ea0b15cb2a105bd33967e432baa1db740a --- libavcodec/nvenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index b09ddbe0fa..906915b5ca 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -1760,7 +1760,7 @@ static int nvenc_register_frame(AVCodecContext *avctx, const AVFrame *frame) NV_ENCODE_API_FUNCTION_LIST *p_nvenc = &dl_fn->nvenc_funcs; AVHWFramesContext *frames_ctx = (AVHWFramesContext*)frame->hw_frames_ctx->data; - NV_ENC_REGISTER_RESOURCE reg; + NV_ENC_REGISTER_RESOURCE reg = { 0 }; int i, idx, ret; for (i = 0; i < ctx->nb_registered_frames; i++) { _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".