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

Git pushed a commit to branch master
in repository ffmpeg.

commit 2f9d3ce5a259412bf407916f260da01c69af1a12
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Thu Jul 3 11:56:24 2025 +0200
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Sat Mar 7 20:14:36 2026 +0100

    avcodec/h261dec: Don't pretend decoding a skipped macroblock can fail
    
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/h261dec.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/libavcodec/h261dec.c b/libavcodec/h261dec.c
index a25595faf6..566143cc5d 100644
--- a/libavcodec/h261dec.c
+++ b/libavcodec/h261dec.c
@@ -182,9 +182,8 @@ static int h261_decode_gob_header(H261DecContext *h)
 
 /**
  * Decode skipped macroblocks.
- * @return 0
  */
-static int h261_decode_mb_skipped(H261DecContext *h, int mba1, int mba2)
+static void h261_decode_mb_skipped(H261DecContext *h, int mba1, int mba2)
 {
     MpegEncContext *const s = &h->s;
     int i;
@@ -219,8 +218,6 @@ static int h261_decode_mb_skipped(H261DecContext *h, int 
mba1, int mba2)
 
         ff_mpv_reconstruct_mb(s, h->block);
     }
-
-    return 0;
 }
 
 static int decode_mv_component(GetBitContext *gb, int v)

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

Reply via email to