History

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

Andreas Rheinhardt committed 2 years ago

Commit ef58de71 parent 57696f72 files · +3 −2Browse files

Unified · Split

2 files
  1. libavcodec/mpegvideo_dec.c +1 −1
  2. libavcodec/mpegvideo_motion.c +2 −1
libavcodec/mpegvideo_dec.c+1−1
@@ -810,7 +810,7 @@ static inline void MPV_motion_lowres(MpegEncContext *s, · 809 unmodified lines
810 }810 }
811 break;811 break;
812 default:812 default:
813 av_assert2(0);813 av_unreachable("No other mpegvideo MV types exist");
814 }814 }
815}815}
816 816
libavcodec/mpegvideo_motion.c+2−1
@@ -813,7 +813,8 @@ static av_always_inline void mpv_motion_internal(MpegEncContext *s, · 812 unmodified lines
813 }813 }
814 break;814 break;
815 }815 }
816 default: av_assert2(0);816 default:
817 av_unreachable("No other mpegvideo MV types exist");
817 }818 }
818}819}
819 820

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t