diff options
author | hj kim <backto.kim@samsung.com> | 2015-06-04 21:09:04 -0700 |
---|---|---|
committer | hj kim <backto.kim@samsung.com> | 2015-06-04 21:09:04 -0700 |
commit | 999b9402a56d7c9738d6d632eff2f90004bbfbaf (patch) | |
tree | 31416fd3ece796751014dab252673fc71b278240 /src/codec/IfegDecodeAGIF.c | |
parent | c896230ef091a244204b17bc9ab0ffa974ce2031 (diff) | |
download | libmedia-thumbnail-accepted/tizen/tv/20150606.053731.tar.gz libmedia-thumbnail-accepted/tizen/tv/20150606.053731.tar.bz2 libmedia-thumbnail-accepted/tizen/tv/20150606.053731.zip |
Revert "Modify error type"submit/tizen/20150605.041217accepted/tizen/wearable/20150606.054548accepted/tizen/tv/20150606.053731accepted/tizen/mobile/20150606.053029accepted/tizen/common/20150605.124444
This reverts commit c896230ef091a244204b17bc9ab0ffa974ce2031.
Change-Id: I94ec0a56f7c3d84ad76645b91310494b96d41932
Diffstat (limited to 'src/codec/IfegDecodeAGIF.c')
-rw-r--r-- | src/codec/IfegDecodeAGIF.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/codec/IfegDecodeAGIF.c b/src/codec/IfegDecodeAGIF.c index e1e5a11..dad124b 100644 --- a/src/codec/IfegDecodeAGIF.c +++ b/src/codec/IfegDecodeAGIF.c @@ -47,7 +47,7 @@ AGifFrameInfo *FastImgCreateAGIFFrameData(unsigned int width, unsigned int heigh int inputPos = 0; int inputPos_temp = 0; - AGifFrameInfo *pFrameData; + AGifFrameInfo *pFrameData; if (0 == (pFrameData = IfegMemAlloc(sizeof(AGifFrameInfo)))) { return 0; } @@ -126,7 +126,7 @@ AGifFrameInfo *FastImgCreateAGIFFrameData(unsigned int width, unsigned int heigh backcolor_parsing = (unsigned short)((pEncodedData[inputPos+backcolor_index*3] >> 3)<<11) | ((pEncodedData[inputPos+backcolor_index*3+1] >> 2)<<5) | (pEncodedData[inputPos+backcolor_index*3+2] >> 3); } - /* graphic extension block */ + /* graphic extension block */ if (pEncodedData[14+header_temp] == 0xF9 || pEncodedData[14+19+header_temp] == 0xF9) { if (transparent == 1 && backcolor_index == transIndex) { @@ -690,7 +690,7 @@ int __FastImgGetNextFrameAGIF_NoBuffer(AGifFrameInfo *pFrameData, BOOL bCenterAl if (pFrameData->nLoopCount == -1) { break; } else if (pFrameData->bLoop || (pFrameData->nRepeatCount <= pFrameData->nLoopCount) || (pFrameData->nLoopCount == 0)) { - /* Background Color */ + /* Background Color */ pImage16 = (unsigned short *)pFrameData->pPrevImg; for (i = 0; i < expected_width * expected_height; i++) { |