"Ronald S. Bultje" <[email protected]> writes: > Otherwise compiler complains that AV_RB32() is undefined.
That makes it sound like the compiler is overly pedantic, which is far from the case here. The header is required, full stop. That's where the macro is defined. > --- > libavcodec/libmp3lame.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/libavcodec/libmp3lame.c b/libavcodec/libmp3lame.c > index 62b55c9..68f1bc9 100644 > --- a/libavcodec/libmp3lame.c > +++ b/libavcodec/libmp3lame.c > @@ -24,6 +24,7 @@ > * Interface to libmp3lame for mp3 encoding. > */ > > +#include "libavutil/intreadwrite.h" > #include "avcodec.h" > #include "mpegaudio.h" > #include <lame/lame.h> > -- Patch as such OK. -- Måns Rullgård [email protected] _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
