diff options
-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; |