[FFmpeg-devel] [PATCH] avcodec/wmv2dsp: fix wrong macro for init_mips

2020-05-03 Thread Rosen Penev
ff_wmv2dsp_init_mips is a void function that only does anything for HAVE_MMI, which is 64-bit specific. Signed-off-by: Rosen Penev --- libavcodec/wmv2dsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/wmv2dsp.c b/libavcodec/wmv2dsp.c index 543f01b852

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/mips: fix compilation with MIPS16

2020-04-12 Thread Rosen Penev
On Sun, Apr 12, 2020 at 7:40 AM Michael Niedermayer 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 > > --- > &

[FFmpeg-devel] [PATCH 2/2] avcodec/mips: fix get_cabac_inline_mips function name

2020-04-11 Thread Rosen Penev
On other platforms, the functions are named get_cabac_inline_xxx but not this one. There's also a define. Signed-off-by: Rosen Penev --- libavcodec/mips/cabac.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mips/cabac.h b/libavcodec/mips/cabac.h index cc40d

[FFmpeg-devel] [PATCH 1/2] avcodec/mips: fix compilation with MIPS16

2020-04-11 Thread Rosen Penev
get_cabac_inline for mips uses inline asm that relies on mips32 instructions. Signed-off-by: Rosen Penev --- 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

[FFmpeg-devel] [PATCH] avfilter/vf_drawtext: only test available exceptions

2020-04-06 Thread Rosen Penev
soft float systems do not define these macros under musl. Fixes: Ticket7102 Signed-off-by: Rosen Penev --- libavfilter/vf_drawtext.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index 887a686d16..abe1ca6c35 100644 --- a/libavfilter

Re: [FFmpeg-devel] [PATCH] avcodec/aacdec: fix compilation under soft float MIPS

2020-04-06 Thread Rosen Penev
On Mon, Apr 6, 2020 at 2:42 PM Carl Eugen Hoyos wrote: > > Am Mo., 6. Apr. 2020 um 07:29 Uhr schrieb Rosen Penev : > > > > Place HAVE_MIPSFPU further up so that functions that use floating point > > ASM are defined away. Otherwise compilation failures result when soft >

[FFmpeg-devel] [PATCH] avcodec/aacdec: fix compilation under soft float MIPS

2020-04-05 Thread Rosen Penev
Place HAVE_MIPSFPU further up so that functions that use floating point ASM are defined away. Otherwise compilation failures result when soft float in enabled on the toolchain. Signed-off-by: Rosen Penev --- libavcodec/mips/aacdec_mips.c | 4 ++-- libavcodec/mips/aacpsdsp_mips.c | 4