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 f4dc92f29b91061303949d46112628c25512dd76
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Sun Sep 6 22:19:01 2026 +0200
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Sat Sep 19 14:27:12 2026 +0200

    avcodec/rv34: do not copy an unused reference line in the edge emulation
    
    The luma interpolation filters read two lines above and three lines
    below a block, so rv34_mc() needs 8 * height + 5 reference lines, but it
    had emulated_edge_mc() copy one more.
    
    Fixes: data race between rv40_loop_filter() and rv34_mc() under frame 
threading
    (cherry picked from commit 709f8fececd0ec6586208010e1d578abf3340dfc)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavcodec/rv34.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/rv34.c b/libavcodec/rv34.c
index f703f23e77..6e09861fd5 100644
--- a/libavcodec/rv34.c
+++ b/libavcodec/rv34.c
@@ -742,7 +742,7 @@ static inline void rv34_mc(RV34DecContext *r, const int 
block_type,
         srcY -= 2 + 2*s->linesize;
         s->vdsp.emulated_edge_mc(s->sc.edge_emu_buffer, srcY,
                                  s->linesize, s->linesize,
-                                 (width << 3) + 6, (height << 3) + 6,
+                                 (width << 3) + 6, (height << 3) + 5,
                                  src_x - 2, src_y - 2,
                                  s->h_edge_pos, s->v_edge_pos);
         srcY = s->sc.edge_emu_buffer + 2 + 2*s->linesize;

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