redundant
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 28 May 2008 01:30:59 +0000 (01:30 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 28 May 2008 01:30:59 +0000 (01:30 +0000)
Originally committed as revision 13484 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/dvbsubdec.c

index c9de401..96c99ee 100644 (file)
@@ -289,7 +289,8 @@ static void delete_region_display_list(DVBSubContext *ctx, DVBSubRegion *region)
                     obj2 = ctx->object_list;
                     obj2_ptr = &ctx->object_list;
 
-                    while (obj2 && obj2 != object) {
+                    while (obj2 != object) {
+                        assert(obj2);
                         obj2_ptr = &obj2->next;
                         obj2 = obj2->next;
                     }