[FFmpeg-devel] [PATCH] avcodec/av1dec: Fix unintended fallthrough

James Almer jamrial at gmail.com
Wed Mar 15 16:36:47 EET 2023


On 3/15/2023 11:09 AM, Andreas Rheinhardt wrote:
> Fixes Coverity issue #1521982.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
>   libavcodec/av1dec.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c
> index a80e37e33f..4d3b559b96 100644
> --- a/libavcodec/av1dec.c
> +++ b/libavcodec/av1dec.c
> @@ -911,6 +911,7 @@ static int export_itut_t35(AVCodecContext *avctx, AVFrame *frame,
>           default: // ignore unsupported identifiers
>               break;
>           }
> +        break;
>       }
>       case 0x3C: { // smpte_provider_code
>           AVDynamicHDRPlus *hdrplus;

Good catch. Same issue is in libdav1d. Want to fix it too, or should i?


More information about the ffmpeg-devel mailing list