avcodec/libzvbi-teletextdec: Add av_fallthrough

Reviewed-by: Ramiro Polla <ramiro.polla@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2026-04-28 21:20:43 +02:00
parent a9b97d070e
commit 095897060a
+2
View File
@@ -428,6 +428,7 @@ static void fix_transparency(TeletextContext *ctx, AVSubtitleRect *sub_rect, vbi
case VBI_OPAQUE:
if (!ctx->transparent_bg)
break;
av_fallthrough;
case VBI_SEMI_TRANSPARENT:
if (ctx->opacity > 0) {
if (ctx->opacity < 255)
@@ -436,6 +437,7 @@ static void fix_transparency(TeletextContext *ctx, AVSubtitleRect *sub_rect, vbi
*pixel += VBI_NB_COLORS;
break;
}
av_fallthrough;
case VBI_TRANSPARENT_FULL:
for(; pixel < pixelnext; pixel++)
if (*pixel == vc->background)