]> git.sesse.net Git - mlt/blobdiff - src/modules/avformat/consumer_avformat.c
Fix build against libav master.
[mlt] / 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( );