diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index fd416eed3a..141f0941b4 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -1140,7 +1140,8 @@ static void decode_sb(VP9TileData *td, int row, int col, VP9Filter *lflvl, uvoff + (8 * hbs * bytesperpixel >> s->ss_h), bl + 1); break; default: - av_assert0(0); + av_unreachable("ff_vp9_partition_tree only has " + "the four PARTITION_* terminal codes"); } } else if (vpx_rac_get_prob_branchy(td->c, p[1])) { bp = PARTITION_SPLIT;