[FFmpeg-devel] [PATCH] lavc/aac: fix shared build failures with MSVC.

Ronald S. Bultje rsbultje at gmail.com
Fri Nov 9 04:42:35 CET 2012


Hi,

On Thu, Nov 8, 2012 at 4:18 PM, Michael Niedermayer <michaelni at gmx.at>wrote:

> On Fri, Nov 09, 2012 at 12:09:56AM +0100, Clément Bœsch wrote:
> > ---
> >  libavcodec/aacenc.c       | 9 ++++++++-
> >  libavcodec/libvo-aacenc.c | 9 ++++++++-
> >  2 files changed, 16 insertions(+), 2 deletions(-)
> >
> > diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c
> > index fe5b84d..22962a3 100644
> > --- a/libavcodec/aacenc.c
> > +++ b/libavcodec/aacenc.c
> > @@ -811,6 +811,13 @@ static const AVClass aacenc_class = {
> >      LIBAVUTIL_VERSION_INT,
> >  };
> >
> > +/* duplicated from avpriv_mpeg4audio_sample_rates to avoid shared build
> > + * failures */
>
> please also add such a comment to avpriv_mpeg4audio_sample_rates
> or maybe move the 2 lines of sample rates in a header and inlcude that.
>
> I naively assume that theres no clean solution without duplication
>

That assumption is wrong.

Ronald


More information about the ffmpeg-devel mailing list