diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-06-08 15:59:25 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-06-11 22:42:29 +0200 |
commit | 1cb038a7d529f4012f8abd0443c9d4e80f5f201b (patch) | |
tree | 280d23fd8e037fda220cc4a07a86eb3d40bb32ac /libavcodec/videodsp_template.c | |
parent | ae2dd5d42b04e287f1200c049db0a6febd229dc0 (diff) |
avcodec/videodsp: Make ff_emulated_edge_mc_16 static
Only ff_emulated_edge_mc_8() is used outside of lavc/videodsp.c.
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/videodsp_template.c')
-rw-r--r-- | libavcodec/videodsp_template.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/videodsp_template.c b/libavcodec/videodsp_template.c index 55123a5844..324d70f2cb 100644 --- a/libavcodec/videodsp_template.c +++ b/libavcodec/videodsp_template.c @@ -20,6 +20,10 @@ */ #include "bit_depth_template.c" +#if BIT_DEPTH != 8 +// ff_emulated_edge_mc_8 is used by the x86 MpegVideoDSP API. +static +#endif void FUNC(ff_emulated_edge_mc)(uint8_t *buf, const uint8_t *src, ptrdiff_t buf_linesize, ptrdiff_t src_linesize, |