[FFmpeg-devel] [PATCH] avformat/mm: add fallthrough comment

epirat07 at gmail.com epirat07 at gmail.com
Thu Nov 21 23:13:15 EET 2024



On 21 Nov 2024, at 22:11, Peter Ross wrote:

> Fixes CID 1634888
> ---
>  libavformat/mm.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/libavformat/mm.c b/libavformat/mm.c
> index 74e2716926..07ba6ac4f5 100644
> --- a/libavformat/mm.c
> +++ b/libavformat/mm.c
> @@ -190,6 +190,7 @@ static int read_packet(AVFormatContext *s,
>
>          default :
>              av_log(s, AV_LOG_INFO, "unknown chunk type 0x%x\n", type);
> +            /* fallthrough */
>          case MM_TYPE_AUDIO2 :
>              avio_skip(pb, length);
>          }

LGTM

> -- 
> 2.45.2
>
> -- Peter
> (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list