This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 7b4b658a87a35dd15ea4455b04209390f1420c75
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Tue Apr 28 20:47:52 2026 +0200
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Sun May 3 18:22:27 2026 +0200

    avcodec/mpegvideo_motion: Add av_unreachable, fix fallthrough warnings
    
    Reviewed-by: Ramiro Polla <[email protected]>
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/mpegvideo_motion.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/mpegvideo_motion.c b/libavcodec/mpegvideo_motion.c
index 741927d809..696cc4980d 100644
--- a/libavcodec/mpegvideo_motion.c
+++ b/libavcodec/mpegvideo_motion.c
@@ -785,6 +785,7 @@ static av_always_inline void 
mpv_motion_internal(MpegEncContext *s,
             }
             break;
         }
+        av_unreachable("MV_TYPE_16X8 is only used by MPEG-1/2");
     case MV_TYPE_DMV:
         if (CONFIG_SMALL || is_mpeg12) {
             if (s->picture_structure == PICT_FRAME) {
@@ -815,6 +816,7 @@ static av_always_inline void 
mpv_motion_internal(MpegEncContext *s,
             }
             break;
         }
+        av_unreachable("MV_TYPE_DMV is only used by MPEG-1/2");
     default:
         av_unreachable("No other mpegvideo MV types exist");
     }

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to