[vlc-devel] [PATCH] Avcodec: Compile again with FFmpeg libavcodec library.
Zoran Turalija
zoran.turalija at gmail.com
Mon Mar 25 10:46:36 CET 2013
On Mon, Mar 25, 2013 at 09:13:26AM +0100, Rémi Denis-Courmont wrote:
> On Mon, 25 Mar 2013 08:36:21 +0100, Zoran Turalija
> <zoran.turalija at gmail.com> wrote:
> > Make fails when using FFmpeg libavcodec version newer than checked by
> > LIBAVCODEC_VERSION_CHECK, because of redeclaration of many enumerators,
> > that are unnecessary with newer version of libavcodec library.
> > It is due to missing parenthesis.
> >
> > Probably same with libav libavcodec library, too.
> > ---
> > modules/codec/avcodec/avcommon_compat.h | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/modules/codec/avcodec/avcommon_compat.h
> > b/modules/codec/avcodec/avcommon_compat.h
> > index 9cf651e..b66518f 100644
> > --- a/modules/codec/avcodec/avcommon_compat.h
> > +++ b/modules/codec/avcodec/avcommon_compat.h
> > @@ -111,7 +111,7 @@
> >
> > #endif /* LIBAVCODEC_VERSION_MAJOR < 54 */
> >
> > -#if !LIBAVCODEC_VERSION_CHECK(54, 25, 0, 51, 100)
> > +#if !(LIBAVCODEC_VERSION_CHECK(54, 25, 0, 51, 100))
>
> Seems to me that the macro definition is wrong, not the number of
> parenthesis.
>
Then something like this, maybe?
> --
> Rémi Denis-Courmont
> Sent from my collocated server
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
--
Kind regards,
Zoran Turalija
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avcodec-Compile-again-with-FFmpeg-libavcodec-library.patch
Type: text/x-diff
Size: 1559 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20130325/48e3b7a1/attachment.patch>
More information about the vlc-devel
mailing list