[MPlayer-dev-eng] loosen requirements on error resilence flags

Alexander Strasser eclipse7 at gmx.net
Wed Feb 8 17:20:17 CET 2012


Hi,

compn wrote:
> On Mon, 6 Feb 2012 07:32:15 +0100, Reinhard Tartler wrote:
> >+#ifndef AV_EF_COMPLIANT
> >+#define AV_EF_COMPLIANT 0
> >+#endif
> >+
> >+#ifndef AV_EF_CAREFUL
> >+#define AV_EF_CAREFUL 0
> >+#endif
> >+
> >+#ifndef AV_EF_AGGRESSIVE
> >+#define AV_EF_AGGRESSIVE 0
> >+#endif
> >+
> 
> rather have this only set if libav is detected.
> maybe you should put something --enable-libav in configure?
> 
> #IF FFMPEG_FORK && {
> #ifndef AV_EF_COMPLIANT }
> #define AV_EF_COMPLIANT 0
> #endif
> 
> unless i'm misunderstanding something...

  Should not be needed at all. The #ifndef guards against
redefinition and with FFmpeg in place, those are defined.

  Alexander


More information about the MPlayer-dev-eng mailing list