avcodec/dvbsubdec: av_assert* instead of assert()
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 12 Nov 2014 17:14:28 +0000 (18:14 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 12 Nov 2014 19:08:24 +0000 (20:08 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/dvbsubdec.c

index e0d678e..261e161 100644 (file)
@@ -306,7 +306,7 @@ static void delete_region_display_list(DVBSubContext *ctx, DVBSubRegion *region)
                     obj2 = *obj2_ptr;
 
                     while (obj2 != object) {
-                        assert(obj2);
+                        av_assert0(obj2);
                         obj2_ptr = &obj2->next;
                         obj2 = *obj2_ptr;
                     }