summaryrefslogtreecommitdiffstats
path: root/video/decode
diff options
context:
space:
mode:
Diffstat (limited to 'video/decode')
-rw-r--r--video/decode/dec_video.h2
-rw-r--r--video/decode/lavc.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/video/decode/dec_video.h b/video/decode/dec_video.h
index 03b72907ef..959d50caaf 100644
--- a/video/decode/dec_video.h
+++ b/video/decode/dec_video.h
@@ -54,4 +54,6 @@ struct mp_hwdec_info {
void *load_api_ctx;
};
+void hwdec_request_api(struct mp_hwdec_info *info, const char *api_name);
+
#endif /* MPLAYER_DEC_VIDEO_H */
diff --git a/video/decode/lavc.h b/video/decode/lavc.h
index af206bc82a..9e2533cbd5 100644
--- a/video/decode/lavc.h
+++ b/video/decode/lavc.h
@@ -86,8 +86,6 @@ bool hwdec_check_codec_support(const char *decoder,
const struct hwdec_profile_entry *table);
int hwdec_get_max_refs(struct lavc_ctx *ctx);
-void hwdec_request_api(struct mp_hwdec_info *info, const char *api_name);
-
// lavc_dr1.c
int mp_codec_get_buffer(AVCodecContext *s, AVFrame *frame);
void mp_codec_release_buffer(AVCodecContext *s, AVFrame *frame);