This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 70b58e770dc809d6917047dd3c06b613aef60b24 Author: Andreas Rheinhardt <[email protected]> AuthorDate: Tue Dec 30 12:24:02 2025 +0100 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Fri Jan 2 18:39:22 2026 +0100 avcodec/msmpeg4: Mark unreachable code as unreachable Reviewed-by: Ramiro Polla <[email protected]> Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavcodec/msmpeg4.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c index 45c56a9ad9..5d9592d260 100644 --- a/libavcodec/msmpeg4.c +++ b/libavcodec/msmpeg4.c @@ -30,6 +30,7 @@ #include "config.h" #include "config_components.h" +#include "libavutil/avassert.h" #include "libavutil/thread.h" #if ARCH_X86 #include "libavutil/x86/asm.h" @@ -122,6 +123,8 @@ av_cold void ff_msmpeg4_common_init(MpegEncContext *s) static AVOnce init_static_once = AV_ONCE_INIT; switch(s->msmpeg4_version){ + default: + av_unreachable("ff_msmpeg4_common_init only called by MSMP4 1-3 and WMV1/2"); case MSMP4_V1: case MSMP4_V2: // Correct *_dc_scale_tables (ff_mpeg1_dc_scale_table) is the default _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
