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

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

commit 93aeb8edd3831b6edf8c67bfa135c5f4b7705d70
Author:     Niklas Haas <[email protected]>
AuthorDate: Mon Jun 22 20:02:07 2026 +0200
Commit:     Marvin Scholz <[email protected]>
CommitDate: Mon Jun 29 15:52:38 2026 +0200

    avfilter/vf_scale_cuda: re-indent after previous change
    
    Signed-off-by: Niklas Haas <[email protected]>
    (cherry-picked from commit 9420146e6dfb6b1ece476086f526050348897a0d)
    Signed-off-by: Marvin Scholz <[email protected]>
---
 libavfilter/vf_scale_cuda.c | 52 ++++++++++++++++++++++-----------------------
 1 file changed, 26 insertions(+), 26 deletions(-)

diff --git a/libavfilter/vf_scale_cuda.c b/libavfilter/vf_scale_cuda.c
index f5b438b959..45567a7ae1 100644
--- a/libavfilter/vf_scale_cuda.c
+++ b/libavfilter/vf_scale_cuda.c
@@ -417,32 +417,32 @@ static av_cold int 
cudascale_load_functions(AVFilterContext *ctx)
         s->interp_use_linear = 0;
         s->interp_as_integer = 0;
     } else {
-    switch(s->interp_algo) {
-    case INTERP_ALGO_NEAREST:
-        function_infix = "Nearest";
-        s->interp_use_linear = 0;
-        s->interp_as_integer = 1;
-        break;
-    case INTERP_ALGO_BILINEAR:
-        function_infix = "Bilinear";
-        s->interp_use_linear = 1;
-        s->interp_as_integer = 1;
-        break;
-    case INTERP_ALGO_DEFAULT:
-    case INTERP_ALGO_BICUBIC:
-        function_infix = "Bicubic";
-        s->interp_use_linear = 0;
-        s->interp_as_integer = 0;
-        break;
-    case INTERP_ALGO_LANCZOS:
-        function_infix = "Lanczos";
-        s->interp_use_linear = 0;
-        s->interp_as_integer = 0;
-        break;
-    default:
-        av_log(ctx, AV_LOG_ERROR, "Unknown interpolation algorithm\n");
-        return AVERROR_BUG;
-    }
+        switch(s->interp_algo) {
+        case INTERP_ALGO_NEAREST:
+            function_infix = "Nearest";
+            s->interp_use_linear = 0;
+            s->interp_as_integer = 1;
+            break;
+        case INTERP_ALGO_BILINEAR:
+            function_infix = "Bilinear";
+            s->interp_use_linear = 1;
+            s->interp_as_integer = 1;
+            break;
+        case INTERP_ALGO_DEFAULT:
+        case INTERP_ALGO_BICUBIC:
+            function_infix = "Bicubic";
+            s->interp_use_linear = 0;
+            s->interp_as_integer = 0;
+            break;
+        case INTERP_ALGO_LANCZOS:
+            function_infix = "Lanczos";
+            s->interp_use_linear = 0;
+            s->interp_as_integer = 0;
+            break;
+        default:
+            av_log(ctx, AV_LOG_ERROR, "Unknown interpolation algorithm\n");
+            return AVERROR_BUG;
+        }
     }
 
     ret = CHECK_CU(cu->cuCtxPushCurrent(cuda_ctx));

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

Reply via email to