]> git.sesse.net Git - mlt/commitdiff
Fix compiler warning on this enum.
authorDan Dennedy <dan@dennedy.org>
Tue, 15 Jun 2010 07:00:56 +0000 (00:00 -0700)
committerDan Dennedy <dan@dennedy.org>
Mon, 24 Jan 2011 02:09:43 +0000 (18:09 -0800)
src/framework/mlt_consumer.c

index 81d8ca158dbc0e7363da13ac6f29c1aa48e9cbc6..dbb264768460fbb2a98480f569fd219adbabe7fc 100644 (file)
@@ -784,7 +784,7 @@ static void *consumer_worker_thread( void *arg )
        // Get the width and height
        int width = mlt_properties_get_int( properties, "width" );
        int height = mlt_properties_get_int( properties, "height" );
-       int format = this->format;
+       mlt_image_format format = this->format;
 
        // See if video is turned off
        int video_off = mlt_properties_get_int( properties, "video_off" );