[FFmpeg-cvslog] avcodec/nvenc: zero-initialize NV_ENC_REGISTER_RESOURCE struct
ffmpeg | branch: release/4.4 | Timo Rothenpieler | 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 = _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".
[FFmpeg-cvslog] avcodec/nvenc: zero-initialize NV_ENC_REGISTER_RESOURCE struct
ffmpeg | branch: release/5.0 | Timo Rothenpieler | Mon Jan 10 15:41:50 2022 +0100| [cd74c838fc5e751b636e0df41ad343d2d899bb0b] | committer: Timo Rothenpieler avcodec/nvenc: zero-initialize NV_ENC_REGISTER_RESOURCE struct > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cd74c838fc5e751b636e0df41ad343d2d899bb0b --- libavcodec/nvenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index 31dfed9241..850c46022b 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -1856,7 +1856,7 @@ static int nvenc_register_frame(AVCodecContext *avctx, const AVFrame *frame) NV_ENCODE_API_FUNCTION_LIST *p_nvenc = _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".
[FFmpeg-cvslog] avcodec/nvenc: zero-initialize NV_ENC_REGISTER_RESOURCE struct
ffmpeg | branch: master | Timo Rothenpieler | Mon Jan 10 15:41:50 2022 +0100| [0b13c34a654891c91b9931fe59537dc028922f32] | committer: Timo Rothenpieler avcodec/nvenc: zero-initialize NV_ENC_REGISTER_RESOURCE struct > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0b13c34a654891c91b9931fe59537dc028922f32 --- libavcodec/nvenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index 31dfed9241..850c46022b 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -1856,7 +1856,7 @@ static int nvenc_register_frame(AVCodecContext *avctx, const AVFrame *frame) NV_ENCODE_API_FUNCTION_LIST *p_nvenc = _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".