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

Ronald S. Bultje rsbultje at gmail.com
Fri Mar 31 14:49:33 EEST 2017


Hi,

On Fri, Mar 31, 2017 at 1:32 AM, Shivraj Patil <Shivraj.Patil at imgtec.com>
wrote:

>
>
>
>
> Hi,
>
>
>
> On Thu, Mar 30, 2017 at 2:21 AM, <shivraj.patil at imgtec.com> wrote:
>
> From: Shivraj Patil <shivraj.patil at imgtec.com>
>
> Signed-off-by: Shivraj Patil <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);*
>

Should be "struct HEVCContext", which is defined in hevcpred.h.

Ronald


More information about the ffmpeg-devel mailing list