svnno****@sourc*****
svnno****@sourc*****
2010年 12月 21日 (火) 20:03:04 JST
Revision: 353 http://sourceforge.jp/projects/swfed/svn/view?view=rev&revision=353 Author: yoya Date: 2010-12-21 20:03:04 +0900 (Tue, 21 Dec 2010) Log Message: ----------- 誤って alias 変数を free している処理を削除 Modified Paths: -------------- trunk/src/jpeg_segment.c -------------- next part -------------- Modified: trunk/src/jpeg_segment.c =================================================================== --- trunk/src/jpeg_segment.c 2010-12-05 15:26:30 UTC (rev 352) +++ trunk/src/jpeg_segment.c 2010-12-21 11:03:04 UTC (rev 353) @@ -6,9 +6,9 @@ #include <stdio.h> #include <stdlib.h> +#include "swf_define.h" #include "bitstream.h" #include "jpeg_segment.h" -#include "swf_define.h" typedef struct jpeg_marker_name_ { int marker; @@ -195,9 +195,7 @@ for (node=jpeg_seg->head ; node ; node=node->next) { if (node->marker == marker) { node->marker = -1; // remove mark; - if (node->data_ref) { - node->data_ref = NULL; - } + node->data_ref = NULL; node->data_len = 0; count ++; }