[FFmpeg-devel] [PATCH] Add AV_CONFIG_* for libav* libs to libavutil/avconfig.h

Måns Rullgård mans
Sun Feb 21 19:41:32 CET 2010


Stefano Sabatini <stefano.sabatini-lala at poste.it> writes:

> On date Sunday 2010-02-21 15:46:37 +0100, Reimar D?ffinger encoded:
>> On Sun, Feb 21, 2010 at 03:06:51PM +0100, Stefano Sabatini wrote:
>> > On date Sunday 2010-02-21 14:57:44 +0100, Stefano Sabatini encoded:
>> > > Hi, as in subject.
>> > 
>> > Missed config.h header, patch updated.
>> > -- 
>> > FFmpeg = Furious and Fascinating Marvellous Plastic Eretic Geisha
>> 
>> > Index: ffmpeg/ffprobe.c
>> > ===================================================================
>> > --- ffmpeg.orig/ffprobe.c	2010-02-21 14:54:12.000000000 +0100
>> > +++ ffmpeg/ffprobe.c	2010-02-21 15:05:05.000000000 +0100
>> > @@ -20,6 +20,8 @@
>> >   */
>> >  
>> >  #undef HAVE_AV_CONFIG_H
>> > +#include "config.h"
>> 
>> So to say it without the flaming:
>> Please include avconfig.h and if it doesn't contain what you need
>> change it to include it.
>
> Check attached.

Let me think about it for a minute.

> BTW, note that ffplay and ffmpeg really don't need
> config.h/avconfig.h, while ffserver.c needs config.h as the
> HAVE_CLOSESOCKET macro is defined there.

closesocket, grr...

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list