projects
/
melted
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Luma generation and use
[melted]
/
src
/
modules
/
core
/
transition_composite.c
diff --git
a/src/modules/core/transition_composite.c
b/src/modules/core/transition_composite.c
index
6cc1055
..
6aef888
100644
(file)
--- a/
src/modules/core/transition_composite.c
+++ b/
src/modules/core/transition_composite.c
@@
-556,7
+556,7
@@
static uint16_t* get_luma( mlt_properties properties, int width, int height )
char temp[ 512 ];
- if ( strchr( resource, '%' ) )
+ if ( resource != NULL && strchr( resource, '%' ) )
{
sprintf( temp, "%s/lumas/%s/%s", mlt_factory_prefix( ), mlt_environment( "MLT_NORMALISATION" ), strchr( resource, '%' ) + 1 );
resource = temp;