Signed-off-by: leozhang <nowe...@gmail.com> --- libavcodec/nvenc.c | 3 --- 1 file changed, 3 deletions(-)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index ae25afd7f8..fdf06d6102 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -607,9 +607,6 @@ static av_cold int nvenc_check_device(AVCodecContext *avctx, int idx) ctx->cu_context = ctx->cu_context_internal; ctx->cu_stream = NULL; - if ((ret = nvenc_pop_context(avctx)) < 0) - goto fail2; - if ((ret = nvenc_open_session(avctx)) < 0) goto fail2; -- 2.28.0.windows.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".