1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

avcodec/mpegvideo_{dec,motion}: Mark unreachable code as unreachable

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2024-05-24 18:16:00 +02:00
parent 57696f7c2b
commit ef58de7fdc
2 changed files with 3 additions and 2 deletions

View File

@ -810,7 +810,7 @@ static inline void MPV_motion_lowres(MpegEncContext *s,
}
break;
default:
av_assert2(0);
av_unreachable("No other mpegvideo MV types exist");
}
}

View File

@ -813,7 +813,8 @@ static av_always_inline void mpv_motion_internal(MpegEncContext *s,
}
break;
}
default: av_assert2(0);
default:
av_unreachable("No other mpegvideo MV types exist");
}
}