X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fimaging%2Fcommon%2Floader-gif.cpp;h=e29231876b583a9fa40a401475aed0eabb6882ae;hb=c1bb1606717a5a831a0e7bdaca8b4eb86dc5a89e;hp=cf9b010df96d699d030d524f35695789916ec871;hpb=250c8a9ad7a630097816426e354c8c8b7d317ee9;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/imaging/common/loader-gif.cpp b/dali/internal/imaging/common/loader-gif.cpp index cf9b010..e292318 100755 --- a/dali/internal/imaging/common/loader-gif.cpp +++ b/dali/internal/imaging/common/loader-gif.cpp @@ -23,6 +23,10 @@ #include #include +#include + +using namespace Dali::Internal::Platform; + // We need to check if giflib has the new open and close API (including error parameter). #ifdef GIFLIB_MAJOR #define LIBGIF_VERSION_5_1_OR_ABOVE @@ -89,7 +93,7 @@ const unsigned int INTERLACE_PAIR_TABLE_SIZE( sizeof( INTERLACE_PAIR_TABLE ) / s int ReadDataFromGif(GifFileType *gifInfo, GifByteType *data, int length) { FILE *fp = reinterpret_cast(gifInfo->UserData); - return fread( data, sizeof( GifByteType ), length, fp); + return InternalFile::fread( data, sizeof( GifByteType ), length, fp); } /// Loads the GIF Header.