changeset 6915:77ce2329f620 libavcodec

redundant
author michael
date Wed, 28 May 2008 01:30:59 +0000
parents 224b51e2c960
children 603bdc5d8493
files dvbsubdec.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dvbsubdec.c	Tue May 27 23:41:10 2008 +0000
+++ b/dvbsubdec.c	Wed May 28 01:30:59 2008 +0000
@@ -289,7 +289,8 @@
                     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;
                     }