diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-05-28 01:30:59 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-05-28 01:30:59 +0000 |
commit | 8403c543dee36f3bd7e068749d74194b3cd87417 (patch) | |
tree | 776f85e50a3e289317742d7c6eac0c73bb14a7e0 /libavcodec/dvbsubdec.c | |
parent | fce88d52ca0b694a614e2cf030c3f622db65b164 (diff) | |
download | ffmpeg-8403c543dee36f3bd7e068749d74194b3cd87417.tar.gz |
redundant
Originally committed as revision 13484 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dvbsubdec.c')
-rw-r--r-- | libavcodec/dvbsubdec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c index c9de401a8b..96c99ee08a 100644 --- a/libavcodec/dvbsubdec.c +++ b/libavcodec/dvbsubdec.c @@ -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; } |