mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
avcodec/mpegvideo_{dec,motion}: Mark unreachable code as unreachable
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user