svnno****@sourc*****
svnno****@sourc*****
2011年 4月 8日 (金) 14:24:00 JST
Revision: 555 http://sourceforge.jp/projects/swfed/svn/view?view=rev&revision=555 Author: yoya Date: 2011-04-08 14:23:59 +0900 (Fri, 08 Apr 2011) Log Message: ----------- インデントの整理 Modified Paths: -------------- trunk/src/swf_tag_jpeg.c -------------- next part -------------- Modified: trunk/src/swf_tag_jpeg.c =================================================================== --- trunk/src/swf_tag_jpeg.c 2011-04-08 05:14:05 UTC (rev 554) +++ trunk/src/swf_tag_jpeg.c 2011-04-08 05:23:59 UTC (rev 555) @@ -175,9 +175,9 @@ old_buff_ref = bitstream_buffer(bs, offset); result = uncompress(new_buff, &origsize, old_buff_ref, alpha_data_len); if (result == Z_BUF_ERROR) { // XXX - origsize *= 2; - new_buff = realloc(new_buff, origsize); // enough size? - result = uncompress(new_buff, &origsize, old_buff_ref, alpha_data_len); + origsize *= 2; + new_buff = realloc(new_buff, origsize); // enough size? + result = uncompress(new_buff, &origsize, old_buff_ref, alpha_data_len); } if (result == Z_OK) { swf_tag_jpeg->alpha_data = realloc(new_buff, origsize);