History

avcodec/vp9: Replace av_assert(0) by av_unreachable()

Andreas Rheinhardt committed 1 year ago

Commit 0bdb6911 parent 2282a371 file · +2 −1Browse files

Unified · Split

libavcodec/vp9.c+2−1
@@ -1140,7 +1140,8 @@ static void decode_sb(VP9TileData *td, int row, int col, VP9Filter *lflvl, · 1139 unmodified lines
11401140 uvoff + (8 * hbs * bytesperpixel >> s->ss_h), bl + 1);
11411141 break;
11421142 default:
1143− av_assert0(0);
1143+ av_unreachable("ff_vp9_partition_tree only has "
1144+ "the four PARTITION_* terminal codes");
11441145 }
11451146 } else if (vpx_rac_get_prob_branchy(td->c, p[1])) {
11461147 bp = PARTITION_SPLIT;

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