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

Git pushed a commit to branch master
in repository ffmpeg.

commit 1db6045e877c5534f63987b361869a98fa521757
Author:     Ramiro Polla <[email protected]>
AuthorDate: Sun Nov 1 23:41:49 2026 +0100
Commit:     Ramiro Polla <[email protected]>
CommitDate: Wed Nov 11 16:01:48 2026 +0000

    avcodec/x86/cabac: use read-write constraints for low and range operands
    
    c->low and c->range are currently declared as write-only outputs, and
    their initial values are also passed as inputs. Use "+" read-write
    constraints instead, which is equivalent. No functional change.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    Signed-off-by: Ramiro Polla <[email protected]>
---
 libavcodec/x86/cabac.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavcodec/x86/cabac.h b/libavcodec/x86/cabac.h
index 206b4e4346..371e668ec4 100644
--- a/libavcodec/x86/cabac.h
+++ b/libavcodec/x86/cabac.h
@@ -224,12 +224,11 @@ int get_cabac_inline_x86(CABACContext *c, uint8_t *const 
state)
                              AV_STRINGIFY(H264_LPS_RANGE_OFFSET),
                              AV_STRINGIFY(H264_MLPS_STATE_OFFSET),
                              "%8")
-        : "=&r"(bit), "=&r"(c->low), "=&r"(c->range), "=&q"(tmp)
+        : "=&r"(bit), "+&r"(c->low), "+&r"(c->range), "=&q"(tmp)
         : "r"(state), "r"(c),
           "i"(offsetof(CABACContext, bytestream)),
           "i"(offsetof(CABACContext, bytestream_end))
           TABLES_ARG
-          ,"1"(c->low), "2"(c->range)
         : "%"FF_REG_c, "memory"
     );
     return bit & 1;

-- 
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