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

Git pushed a commit to branch master
in repository ffmpeg.

commit 625ab011f47590b15dd97dcffb6469a73aa31bcc
Author:     Niklas Haas <[email protected]>
AuthorDate: Thu May 21 10:53:59 2026 +0200
Commit:     Niklas Haas <[email protected]>
CommitDate: Thu Jun 11 16:27:47 2026 +0000

    swscale/uops: add default fallback for translate_op()
    
    Makes it a bit easier to add ops and uops in separate commits.
    
    Sponsored-by: Sovereign Tech Fund
    Signed-off-by: Niklas Haas <[email protected]>
---
 libswscale/uops.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libswscale/uops.c b/libswscale/uops.c
index 7f779a504c..b73aedb6e1 100644
--- a/libswscale/uops.c
+++ b/libswscale/uops.c
@@ -841,6 +841,8 @@ static int translate_op(SwsContext *ctx, SwsUOpList *uops, 
SwsUOpFlags flags,
         uop.uop = SWS_UOP_SWAP_BYTES;
         uop.type = pixel_type_to_int(op->type);
         break;
+    default:
+        return AVERROR(ENOTSUP);
     }
 
     av_assert0(uop.uop != SWS_UOP_INVALID);

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to