[FFmpeg-cvslog] vp9: assert -> av_assert and fix associated compile error.

Ronald S. Bultje git at videolan.org
Mon Sep 11 23:02:49 EEST 2017


ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Mon Sep 11 15:41:24 2017 -0400| [4ce99e96d6115ccd1fc82f826d4c628240ef53ed] | committer: Ronald S. Bultje

vp9: assert -> av_assert and fix associated compile error.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4ce99e96d6115ccd1fc82f826d4c628240ef53ed
---

 libavcodec/vp9.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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++) {



More information about the ffmpeg-cvslog mailing list