ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@outlook.com> | 
Sat Jun  8 03:11:48 2024 +0200| [592d75dbebb7f7f620c0c70974f4067dd0a389c2] | 
committer: Andreas Rheinhardt

avcodec/rv34: Don't update block_index unnecessarily

It is unused by RV30 and RV40.

Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=592d75dbebb7f7f620c0c70974f4067dd0a389c2
---

 libavcodec/rv34.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libavcodec/rv34.c b/libavcodec/rv34.c
index d94285431e..d8d307f969 100644
--- a/libavcodec/rv34.c
+++ b/libavcodec/rv34.c
@@ -1463,7 +1463,9 @@ static int rv34_decode_slice(RV34DecContext *r, int end, 
const uint8_t* buf, int
 
     ff_init_block_index(s);
     while(!check_slice_end(r, s)) {
-        ff_update_block_index(s, 8, 0, 1);
+        s->dest[0] += 16;
+        s->dest[1] += 8;
+        s->dest[2] += 8;
 
         if(r->si.type)
             res = rv34_decode_inter_macroblock(r, r->intra_types + s->mb_x * 4 
+ 4);

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to