From 12c29c9a7f44c16e250a14fb115a84af0e6f11e0 Mon Sep 17 00:00:00 2001 From: DRC Date: Fri, 14 Mar 2014 08:59:27 +0000 Subject: [PATCH] Remove unneeded/unused code git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1169 632fc199-4ca6-4c93-a231-07263d6284db --- tjunittest.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tjunittest.c b/tjunittest.c index d2d3e98..dc84bba 100644 --- a/tjunittest.c +++ b/tjunittest.c @@ -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"); -- 2.40.0