From 82238ada25de0c0a52e7c74c0636259af7f54c76 Mon Sep 17 00:00:00 2001 From: trav90 Date: Mon, 1 Oct 2018 10:29:13 -0500 Subject: [ffvpx] Remove unneeded libavcodec symbols and dummy functions Fixes linkage errors on Windows. --- media/ffvpx/libavcodec/avcodec.symbols | 3 --- media/ffvpx/libavcodec/dummy_funcs.c | 7 ------- 2 files changed, 10 deletions(-) diff --git a/media/ffvpx/libavcodec/avcodec.symbols b/media/ffvpx/libavcodec/avcodec.symbols index d34c6ed7e..0b7c21cca 100644 --- a/media/ffvpx/libavcodec/avcodec.symbols +++ b/media/ffvpx/libavcodec/avcodec.symbols @@ -51,9 +51,6 @@ av_parser_close av_parser_init av_parser_next av_parser_parse2 -av_rdft_calc -av_rdft_end -av_rdft_init av_register_codec_parser av_register_hwaccel av_shrink_packet diff --git a/media/ffvpx/libavcodec/dummy_funcs.c b/media/ffvpx/libavcodec/dummy_funcs.c index ac0f0b780..295ee84e1 100644 --- a/media/ffvpx/libavcodec/dummy_funcs.c +++ b/media/ffvpx/libavcodec/dummy_funcs.c @@ -6,9 +6,7 @@ #include "avcodec.h" -typedef struct FFTContext FFTContext; typedef struct H264PredContext H264PredContext; -typedef struct RDFTContext RDFTContext; typedef struct VideoDSPContext VideoDSPContext; typedef struct VP8DSPContext VP8DSPContext; typedef struct VP9DSPContext VP9DSPContext; @@ -819,11 +817,6 @@ AVBitStreamFilter ff_noise_bsf; AVBitStreamFilter ff_remove_extradata_bsf; AVBitStreamFilter ff_text2movsub_bsf; -void ff_fft_init_aarch64(FFTContext *s) {} -void ff_fft_init_arm(FFTContext *s) {} -void ff_fft_init_mips(FFTContext *s) {} -void ff_fft_init_ppc(FFTContext *s) {} -void ff_rdft_init_arm(RDFTContext *s) {} void ff_h264_pred_init_aarch64(H264PredContext *h, int codec_id, const int bit_depth, const int chroma_format_idc) {} -- cgit v1.2.3