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

Shivraj Patil Shivraj.Patil at imgtec.com
Tue Apr 4 15:05:38 EEST 2017


Hi,
Above patch fixes the mips build bug.

Shivraj.

-----Original Message-----
From: ffmpeg-devel [mailto:ffmpeg-devel-bounces at ffmpeg.org] On Behalf Of Michael Niedermayer
Sent: 31 March 2017 15:22
To: FFmpeg development discussions and patches
Subject: Re: [FFmpeg-devel] [PATCH] Build fix for MIPS

On Fri, Mar 31, 2017 at 05:32:55AM +0000, Shivraj Patil wrote:
> 
> 
> Hi,
> 
> On Thu, Mar 30, 2017 at 2:21 AM, <shivraj.patil at imgtec.com<mailto:shivraj.patil at imgtec.com>> wrote:
> From: Shivraj Patil 
> <shivraj.patil at imgtec.com<mailto:shivraj.patil at imgtec.com>>
> 
> Signed-off-by: Shivraj Patil 
> <shivraj.patil at imgtec.com<mailto:shivraj.patil at imgtec.com>>
> ---
>  libavcodec/mips/hevcpred_mips.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavcodec/mips/hevcpred_mips.h 
> b/libavcodec/mips/hevcpred_mips.h index 12f57a2..fcd687b 100644
> --- a/libavcodec/mips/hevcpred_mips.h
> +++ b/libavcodec/mips/hevcpred_mips.h
> @@ -21,7 +21,7 @@
>  #ifndef AVCODEC_MIPS_HEVCPRED_MIPS_H
>  #define AVCODEC_MIPS_HEVCPRED_MIPS_H
> 
> -#include "libavcodec/hevcdsp.h"
> +#include "libavcodec/hevcdec.h"
> 
> Shouldn't this be hevcpred.h?
> 
> Shivraj:- No definition of “HEVCContext” in file hevcpred.h.
> Hence observed error following error
> ./libavcodec/mips/hevcpred_mips.h:70:32: error: unknown type name 
> HEVCContext void ff_intra_pred_8_16x16_msa(HEVCContext *s, int x0, int 
> y0, int c_idx);

i have a fix for this locally, will be in my next push

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If a bugfix only changes things apparently unrelated to the bug with no further explanation, that is a good sign that the bugfix is wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-build-fix-for-mips.patch
Type: application/octet-stream
Size: 1577 bytes
Desc: 0001-build-fix-for-mips.patch
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170404/84a5401a/attachment.obj>


More information about the ffmpeg-devel mailing list