From 4945fd344bac8da10e3ed2bdeaca568283f69488 Mon Sep 17 00:00:00 2001 From: Dan Dennedy Date: Wed, 5 Feb 2014 22:48:30 -0800 Subject: [PATCH] Fix build against libav master. --- src/modules/avformat/consumer_avformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( ); -- 2.39.5