]> git.sesse.net Git - mlt/commitdiff
Fix build against libav master.
authorDan Dennedy <dan@dennedy.org>
Thu, 6 Feb 2014 06:48:30 +0000 (22:48 -0800)
committerDan Dennedy <dan@dennedy.org>
Thu, 6 Feb 2014 06:48:36 +0000 (22:48 -0800)
src/modules/avformat/consumer_avformat.c

index 367d8aaad0c2979682aa0e4d60a0606162a4b8a2..9ab69ecb5544f555c982ddc331888819f7c3971b 100644 (file)
@@ -1238,7 +1238,7 @@ static void *consumer_thread( void *arg )
        if ( filename == NULL || !strcmp( filename, "" ) )
                filename = "pipe:";
 
-#if LIBAVUTIL_VERSION_INT >= ((53<<16)+(2<<8)+0)
+#if defined(FFUDIV) && LIBAVUTIL_VERSION_INT >= ((53<<16)+(2<<8)+0)
        avformat_alloc_output_context2( &oc, fmt, format, filename );
 #else
        oc = avformat_alloc_context( );