avcodec/h261dec: Don't pretend decoding a skipped macroblock can fail

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2025-07-03 11:56:24 +02:00
parent f37cfb370f
commit 2f9d3ce5a2
+1 -4
View File
@@ -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)