diff options
author | Hyunjun Ko <zzoon.ko@samsung.com> | 2012-09-03 13:47:28 +0900 |
---|---|---|
committer | Hyunjun Ko <zzoon.ko@samsung.com> | 2012-09-03 13:47:28 +0900 |
commit | 09cd6966f7f0946dcef22d042f7475ea15ae98d4 (patch) | |
tree | ac124b5890d2c869a628eaad7dda63ae20431025 | |
parent | 91757ec657c7d815d2b2fe25cc34e96fb8cc0cb7 (diff) | |
download | media-content-09cd6966f7f0946dcef22d042f7475ea15ae98d4.tar.gz media-content-09cd6966f7f0946dcef22d042f7475ea15ae98d4.tar.bz2 media-content-09cd6966f7f0946dcef22d042f7475ea15ae98d4.zip |
update bug patchsubmit/tizen/20130517.015154submit/master/20120920.151026accepted/tizen/20130520.1026012.0_alphamaster2.0alpha
-rwxr-xr-x | packaging/capi-content-media-content.spec | 2 | ||||
-rwxr-xr-x | src/media_filter.c | 2 |
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; |