summaryrefslogtreecommitdiff
path: root/src/codec
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2015-06-10 11:47:13 (GMT)
committerMinje Ahn <minje.ahn@samsung.com>2015-06-10 11:47:13 (GMT)
commitcbb11bf8d28059cdf57cea64a04150a740cbcf91 (patch)
tree123d6e47b7682e8497e104f383feccc93218c16f /src/codec
parent9d333c7852195d9d4cb75e681b6e4d0be686dbe5 (diff)
downloadlibmedia-thumbnail-cbb11bf8d28059cdf57cea64a04150a740cbcf91.zip
libmedia-thumbnail-cbb11bf8d28059cdf57cea64a04150a740cbcf91.tar.gz
libmedia-thumbnail-cbb11bf8d28059cdf57cea64a04150a740cbcf91.tar.bz2
Change-Id: I404d21bdeb3f23786c9b30303ede8edac4b24149 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'src/codec')
-rw-r--r--src/codec/img-codec-osal.c16
1 files changed, 1 insertions, 15 deletions
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 <stdlib.h>
#include <string.h>
#include <errno.h>
-#include <drm_client.h>
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");