mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user