[FFmpeg-cvslog] rv10: change assert() to av_assert()

Michael Niedermayer git at videolan.org
Fri Jun 8 18:30:25 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Jun  8 18:24:47 2012 +0200| [718607be28fd1c3cb1d2d7ad7dd589211b93ab3f] | committer: Michael Niedermayer

rv10: change assert() to av_assert()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

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

diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c
index 5e9e016..056c8b5 100644
--- a/libavcodec/rv10.c
+++ b/libavcodec/rv10.c
@@ -443,7 +443,7 @@ av_log(s->avctx, AV_LOG_DEBUG, "\n");*/
                    seq, s->mb_x, s->mb_y, s->pict_type, s->qscale, s->no_rounding);
     }
 
-    assert(s->pict_type != AV_PICTURE_TYPE_B || !s->low_delay);
+    av_assert0(s->pict_type != AV_PICTURE_TYPE_B || !s->low_delay);
 
     return s->mb_width*s->mb_height - mb_pos;
 }



More information about the ffmpeg-cvslog mailing list