From cbb11bf8d28059cdf57cea64a04150a740cbcf91 Mon Sep 17 00:00:00 2001 From: Minje Ahn Date: Wed, 10 Jun 2015 20:47:13 +0900 Subject: Remove drm source code. Change-Id: I404d21bdeb3f23786c9b30303ede8edac4b24149 Signed-off-by: Minje Ahn --- src/codec/img-codec-osal.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'src/codec') diff --git a/src/codec/img-codec-osal.c b/src/codec/img-codec-osal.c index 88123bb..cefe59f 100644 --- a/src/codec/img-codec-osal.c +++ b/src/codec/img-codec-osal.c @@ -25,7 +25,6 @@ #include #include #include -#include void *IfegMemAlloc(unsigned int size) { @@ -64,20 +63,7 @@ static BOOL _is_real_drm = FALSE; HFile DrmOpenFile(const char *szPathName) { - int ret = 0; - drm_bool_type_e drm_type; - - ret = drm_is_drm_file(szPathName, &drm_type); - if (ret < 0) { - thumb_err("drm_is_drm_file falied : %d", ret); - drm_type = DRM_FALSE; - } - - if (drm_type == DRM_TRUE) { - _is_real_drm = TRUE; - } else { - _is_real_drm = FALSE; - } + _is_real_drm = FALSE; if (!_is_real_drm) { FILE *fp = fopen(szPathName, "rb"); -- cgit v1.2.3