[FFmpeg-devel] [PATCH 1/2] avcodec/mips: fix compilation with MIPS16
Michael Niedermayer
michael at niedermayer.cc
Sun Apr 12 17:40:38 EEST 2020
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
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200412/3011c30f/attachment.sig>
More information about the ffmpeg-devel
mailing list