h263dec: switch to av_assert()
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 22 Mar 2013 17:07:26 +0000 (18:07 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 22 Mar 2013 17:07:26 +0000 (18:07 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h263dec.c

index 66d00d4..adcbcd8 100644 (file)
@@ -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;