[FFmpeg-devel] [PATCH 1/2] avcodec/mips: fix compilation with MIPS16
Rosen Penev
rosenp at gmail.com
Mon Apr 13 01:11:31 EEST 2020
On Sun, Apr 12, 2020 at 7:40 AM Michael Niedermayer
<michael at niedermayer.cc> wrote:
>
> On Sat, Apr 11, 2020 at 06:54:32PM -0700, Rosen Penev wrote:
> > get_cabac_inline for mips uses inline asm that relies on mips32
> > instructions.
> >
> > Signed-off-by: Rosen Penev <rosenp at gmail.com>
> > ---
> > libavcodec/mips/cabac.h | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/libavcodec/mips/cabac.h b/libavcodec/mips/cabac.h
> > index 2a05e5ab3c..cc40dbba15 100644
> > --- a/libavcodec/mips/cabac.h
> > +++ b/libavcodec/mips/cabac.h
> > @@ -28,6 +28,7 @@
> > #include "libavutil/mips/mmiutils.h"
> > #include "config.h"
> >
>
> > +#ifndef __mips16
>
> this should probably be something set by configure
> something like HAVE_MIPS* i suspect
config.h does not have a HAVE_MIPS16 macro defined anywhere.
>
> thx
>
> [...]
> --
> Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> "I am not trying to be anyone's saviour, I'm trying to think about the
> future and not be sad" - Elon Musk
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel
mailing list