Fix #404 null pointer crash.
Fix #404 null pointer crash.

mltframework/mlt,mltframework/mlt,mltframework/mlt,j-b-m/mlt,mltframework/mlt,mltframework/mlt,j-b-m/mlt,mltframework/mlt,mltframework/mlt,mltframework/mlt,j-b-m/mlt,j-b-m/mlt,j-b-m/mlt,mltframework/mlt,j-b-m/mlt,j-b-m/mlt,mltframework/mlt,j-b-m/mlt,j-b-m/mlt,j-b-m/mlt