]> git.sesse.net Git - mlt/commitdiff
fix segfault on stop in avformat consumer
authorDan Dennedy <dan@dennedy.org>
Thu, 23 Feb 2012 04:13:54 +0000 (20:13 -0800)
committerDan Dennedy <dan@dennedy.org>
Thu, 23 Feb 2012 04:13:54 +0000 (20:13 -0800)
src/modules/avformat/consumer_avformat.c

index 20e25fa6db8013b11d922dea91431f7d00877a5d..80d8849654d30f024685efac0bf980426f2c1f84 100644 (file)
@@ -365,7 +365,7 @@ static int consumer_stop( mlt_consumer consumer )
                // Wait for termination
                pthread_join( *thread, NULL );
 
-               mlt_properties_set( properties, "thread", NULL );
+               mlt_properties_set_data( properties, "thread", NULL, 0, NULL, NULL );
        }
 
        return 0;