[FFmpeg-devel] [PATCH] Build fix for MIPS

Shivraj Patil Shivraj.Patil at imgtec.com
Wed Apr 5 15:38:29 EEST 2017


Hi,

Updated the patch as per comments.
As hevcpred_init_mips.c needs definition of HAVE_MSA and av_cold, now I have included config.h & libavutil/attributes.h in this file.

Thanks,
Shivraj


From: Ronald S. Bultje [mailto:rsbultje at gmail.com]
Sent: 04 April 2017 17:47
To: Shivraj Patil
Cc: FFmpeg development discussions and patches
Subject: Re: [FFmpeg-devel] [PATCH] Build fix for MIPS



On Tue, Apr 4, 2017 at 8:05 AM, Shivraj Patil <Shivraj.Patil at imgtec.com<mailto:Shivraj.Patil at imgtec.com>> wrote:
Hi,

> diff --git a/libavcodec/hevcpred.h b/libavcodec/hevcpred.h
> [..]
> @@ -26,6 +26,8 @@
>  #include <stddef.h>
>  #include <stdint.h>
>
> +#include "get_bits.h"
> +

hevcpred does not depend on get_bits.h and does not use any symbols (get_bits* or GetBit*) from it. What compiler error does this fix?

diff --git a/libavcodec/mips/hevcpred_msa.c b/libavcodec/mips/hevcpred_msa.c
[..]
-#include "libavcodec/hevc.h"
+#include "libavcodec/hevcdec.h"

This looks correct.

Ronald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-build-fix-for-mips.patch
Type: application/octet-stream
Size: 1298 bytes
Desc: 0001-build-fix-for-mips.patch
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170405/aff2f2e6/attachment.obj>


More information about the ffmpeg-devel mailing list