From: Dan Dennedy Date: Thu, 6 Feb 2014 06:48:30 +0000 (-0800) Subject: Fix build against libav master. X-Git-Url: https://git.sesse.net/?p=mlt;a=commitdiff_plain;h=4945fd344bac8da10e3ed2bdeaca568283f69488 Fix build against libav master. --- diff --git a/src/modules/avformat/consumer_avformat.c b/src/modules/avformat/consumer_avformat.c index 367d8aaa..9ab69ecb 100644 --- a/src/modules/avformat/consumer_avformat.c +++ b/src/modules/avformat/consumer_avformat.c @@ -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( );