]> granicus.if.org Git - libjpeg-turbo/commitdiff
Remove unneeded/unused code
authorDRC <dcommander@users.sourceforge.net>
Fri, 14 Mar 2014 08:59:27 +0000 (08:59 +0000)
committerDRC <dcommander@users.sourceforge.net>
Fri, 14 Mar 2014 08:59:27 +0000 (08:59 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1169 632fc199-4ca6-4c93-a231-07263d6284db

tjunittest.c

index d2d3e983d90516d4d59f50ce56fa716862914413..dc84bbaa41ccbb757d3b3a85d3eba1eece656b7b 100644 (file)
@@ -79,7 +79,6 @@ const int _4byteFormats[]={TJPF_RGBX, TJPF_BGRX, TJPF_XBGR, TJPF_XRGB,
 const int _onlyGray[]={TJPF_GRAY};
 const int _onlyRGB[]={TJPF_RGB};
 
-enum {YUVENCODE=1, YUVDECODE};
 int doyuv=0, alloc=0, pad=4;
 
 int exitStatus=0;
@@ -425,9 +424,6 @@ void compTest(tjhandle handle, unsigned char **dstBuf,
                _tj(tjEncodeYUV3(handle2, srcBuf, w, 0, h, pf, yuvBuf, pad, subsamp,
                        flags));
                tjDestroy(handle2);
-               snprintf(tempStr, 1024, "%s_enc_%s_%s_%s.yuv", basename, pfStr, buStr,
-                       subName[subsamp]);
-               writeJPEG(yuvBuf, yuvSize, tempStr);
                if(checkBufYUV(yuvBuf, w, h, subsamp, sf)) printf("Passed.\n");
                else printf("FAILED!\n");