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
1140 uvoff + (8 * hbs * bytesperpixel >> s->ss_h), bl + 1);1140 uvoff + (8 * hbs * bytesperpixel >> s->ss_h), bl + 1);
1141 break;1141 break;
1142 default:1142 default:
1143 av_assert0(0);1143 av_unreachable("ff_vp9_partition_tree only has "
1144 "the four PARTITION_* terminal codes");
1144 }1145 }
1145 } else if (vpx_rac_get_prob_branchy(td->c, p[1])) {1146 } else if (vpx_rac_get_prob_branchy(td->c, p[1])) {
1146 bp = PARTITION_SPLIT;1147 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