On 09.04.2021 12:34, Steven Liu wrote:
-    if (ctx->hwctx && ctx->cu_module) {
+    if (ctx->hwctx && ctx->cu_module && ctx->hwctx->internal) {
          CUcontext dummy;
          CudaFunctions *cu = ctx->hwctx->internal->cuda_dl;
          CHECK_CU(cu->cuCtxPushCurrent(ctx->cu_ctx));


How can this happen at this point?
Did something else prematurely free the hwctx?

This makes me think that the filter is missing a buffer ref somewhere to prevent things from getting freed too early.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
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".

Reply via email to