[FFmpeg-cvslog] avcodec/svq3: fix assert type ( was av_assert2 in h264 from where this was copied)

Michael Niedermayer git at videolan.org
Tue Apr 26 21:48:26 CEST 2016


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Tue Apr 26 20:45:56 2016 +0200| [4efd3ec50a5442ac854d84c5ace94052692c10cd] | committer: Michael Niedermayer

avcodec/svq3: fix assert type (was av_assert2 in h264 from where this was copied)

Type was lost in f8d1bb2f2ce9031940019e1cda4d30bc409ee349

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

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

diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c
index bf9e591..608f817 100644
--- a/libavcodec/svq3.c
+++ b/libavcodec/svq3.c
@@ -528,7 +528,7 @@ static av_always_inline void hl_decode_mb_predict_luma(const H264Context *h,
             int nnz, tr;
             if (dir == DIAG_DOWN_LEFT_PRED || dir == VERT_LEFT_PRED) {
                 const int topright_avail = (sl->topright_samples_available << i) & 0x8000;
-                assert(sl->mb_y || linesize <= block_offset[i]);
+                av_assert2(sl->mb_y || linesize <= block_offset[i]);
                 if (!topright_avail) {
                     tr       = ptr[3 - linesize] * 0x01010101u;
                     topright = (uint8_t *)&tr;



More information about the ffmpeg-cvslog mailing list