projects
/
melted
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Minor correction
[melted]
/
mlt++
/
src
/
MltService.cpp
diff --git
a/mlt++/src/MltService.cpp
b/mlt++/src/MltService.cpp
index
63509f4
..
078a289
100644
(file)
--- a/
mlt++/src/MltService.cpp
+++ b/
mlt++/src/MltService.cpp
@@
-109,6
+109,7
@@
int Service::detach( Filter &filter )
Filter *Service::filter( int index )
{
- return new Filter( mlt_service_filter( get_service( ), index ) );
+ mlt_filter result = mlt_service_filter( get_service( ), index );
+ return result == NULL ? NULL : new Filter( result );
}