[FFmpeg-cvslog] h263dec: switch to av_assert()

Michael Niedermayer git at videolan.org
Fri Mar 22 18:12:17 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Mar 22 18:07:26 2013 +0100| [428e9dafab819bfb7ca9eb96e257c7a5391a5379] | committer: Michael Niedermayer

h263dec: switch to av_assert()

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

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

 libavcodec/h263dec.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 66d00d4..adcbcd8 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -744,8 +744,8 @@ intrax8_decoded:
 
     ff_MPV_frame_end(s);
 
-    assert(s->current_picture.f.pict_type == s->current_picture_ptr->f.pict_type);
-    assert(s->current_picture.f.pict_type == s->pict_type);
+    av_assert1(s->current_picture.f.pict_type == s->current_picture_ptr->f.pict_type);
+    av_assert1(s->current_picture.f.pict_type == s->pict_type);
     if (s->pict_type == AV_PICTURE_TYPE_B || s->low_delay) {
         if ((ret = av_frame_ref(pict, &s->current_picture_ptr->f)) < 0)
             return ret;



More information about the ffmpeg-cvslog mailing list