summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyunjun Ko <zzoon.ko@samsung.com>2012-09-03 13:47:28 +0900
committerHyunjun Ko <zzoon.ko@samsung.com>2012-09-03 13:47:28 +0900
commit09cd6966f7f0946dcef22d042f7475ea15ae98d4 (patch)
treeac124b5890d2c869a628eaad7dda63ae20431025
parent91757ec657c7d815d2b2fe25cc34e96fb8cc0cb7 (diff)
downloadmedia-content-2.0alpha.tar.gz
media-content-2.0alpha.tar.bz2
media-content-2.0alpha.zip
-rwxr-xr-xpackaging/capi-content-media-content.spec2
-rwxr-xr-xsrc/media_filter.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/packaging/capi-content-media-content.spec b/packaging/capi-content-media-content.spec
index 7984e96..fb21402 100755
--- a/packaging/capi-content-media-content.spec
+++ b/packaging/capi-content-media-content.spec
@@ -1,7 +1,7 @@
Name: capi-content-media-content
Summary: A Media content library in SLP C API
Version: 0.2.14
-Release: 1
+Release: 2
Group: System/Libraries
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
diff --git a/src/media_filter.c b/src/media_filter.c
index 6280759..cf2467b 100755
--- a/src/media_filter.c
+++ b/src/media_filter.c
@@ -950,7 +950,7 @@ int media_filter_set_offset(filter_h filter, int offset, int count)
int ret = MEDIA_CONTENT_ERROR_NONE;
filter_s *_filter = (filter_s*)filter;
- if((_filter != NULL) && (offset >= 0) && (count > 0))
+ if(_filter != NULL)
{
_filter->offset = offset;
_filter->count = count;