diff --git a/src/video_core/host1x/ffmpeg/ffmpeg.cpp b/src/video_core/host1x/ffmpeg/ffmpeg.cpp index 60e9f121e2..da79a88843 100644 --- a/src/video_core/host1x/ffmpeg/ffmpeg.cpp +++ b/src/video_core/host1x/ffmpeg/ffmpeg.cpp @@ -377,10 +377,11 @@ typedef struct FFCodec { const uint32_t* codec_tags; } FFCodec; +#ifndef ANDROID static av_always_inline const FFCodec* ffcodec(const AVCodec* codec) { return (const FFCodec*)codec; } - +#endif } // namespace