This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch release/9.0
in repository ffmpeg.

commit 48148778f95d8b73e25ac058a8eade5ae2957bd3
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Thu Nov 26 22:33:15 2026 +0100
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Thu Nov 26 22:33:15 2026 +0100

    avutil/hwcontext_cuda: return the error code from cuda_transfer_data()
    
    A failed copy and the size check added by 2c647e6c6f0 jump to exit,
    which returned 0. On master this was changed as part of ef3dcf4ea61.
    
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavutil/hwcontext_cuda.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/hwcontext_cuda.c b/libavutil/hwcontext_cuda.c
index 4103ba36b1..77f9b194ca 100644
--- a/libavutil/hwcontext_cuda.c
+++ b/libavutil/hwcontext_cuda.c
@@ -300,7 +300,7 @@ static int cuda_transfer_data(AVHWFramesContext *ctx, 
AVFrame *dst,
 exit:
     CHECK_CU(cu->cuCtxPopCurrent(&dummy));
 
-    return 0;
+    return ret;
 }
 
 static void cuda_device_uninit(AVHWDeviceContext *device_ctx)

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to