summaryrefslogtreecommitdiff
path: root/libavcodec/vp9.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2017-09-11 15:41:24 -0400
committerRonald S. Bultje <rsbultje@gmail.com>2017-09-11 16:02:25 -0400
commit4ce99e96d6115ccd1fc82f826d4c628240ef53ed (patch)
treedbe95af8af6a60f6a516a0918f6001f2380b65e9 /libavcodec/vp9.c
parentad0d016f1cd2a626edeabae7f461b0043e660ee4 (diff)
vp9: assert -> av_assert and fix associated compile error.
Diffstat (limited to 'libavcodec/vp9.c')
-rw-r--r--libavcodec/vp9.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c
index f626f815b9..66ccb6c49c 100644
--- a/libavcodec/vp9.c
+++ b/libavcodec/vp9.c
@@ -1603,7 +1603,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
if (avctx->active_thread_type == FF_THREAD_SLICE) {
int tile_row, tile_col;
- assert(!pass);
+ av_assert1(!s->pass);
for (tile_row = 0; tile_row < s->s.h.tiling.tile_rows; tile_row++) {
for (tile_col = 0; tile_col < s->s.h.tiling.tile_cols; tile_col++) {