From: kramm Date: Sat, 16 Feb 2002 17:46:11 +0000 (+0000) Subject: bugfix: slave files smaller than master files caused a segfault. X-Git-Tag: release-0-2-3~16 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=c5049dc6f6beea21db4314fc380d3d6de2914845;p=swftools.git bugfix: slave files smaller than master files caused a segfault. --- diff --git a/src/combine.c b/src/combine.c index 4847a58..34ea6b5 100644 --- a/src/combine.c +++ b/src/combine.c @@ -84,7 +84,7 @@ void jpeg_assert() pos++; } pos = 0; - while(master.tags[pos].id != 0) + while(slave.tags[pos].id != 0) { if(slave.tags[pos].id == TAGID_JPEGTABLES) spos = pos;