summaryrefslogtreecommitdiff
path: root/libavcodec/vp56.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-02-11 09:03:30 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-02-13 12:35:16 +0100
commitac6c1080cda57ee9116de6cc3b0587a450dd213f (patch)
tree40663af623e9543ec72a9b72561952a7d8e77e20 /libavcodec/vp56.c
parentac9f8d7c02fe11629fe797de80b48d063eed937f (diff)
avcodec/vp56: Avoid functions with only one caller
Reviewed-by: Peter Ross <pross@xvid.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/vp56.c')
-rw-r--r--libavcodec/vp56.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/libavcodec/vp56.c b/libavcodec/vp56.c
index d4184f59b4..9819393447 100644
--- a/libavcodec/vp56.c
+++ b/libavcodec/vp56.c
@@ -773,12 +773,6 @@ next:
return 0;
}
-av_cold int ff_vp56_init(AVCodecContext *avctx, int flip, int has_alpha)
-{
- VP56Context *s = avctx->priv_data;
- return ff_vp56_init_context(avctx, s, flip, has_alpha);
-}
-
av_cold int ff_vp56_init_context(AVCodecContext *avctx, VP56Context *s,
int flip, int has_alpha)
{
@@ -830,12 +824,6 @@ av_cold int ff_vp56_init_context(AVCodecContext *avctx, VP56Context *s,
return 0;
}
-av_cold int ff_vp56_free(AVCodecContext *avctx)
-{
- VP56Context *s = avctx->priv_data;
- return ff_vp56_free_context(s);
-}
-
av_cold int ff_vp56_free_context(VP56Context *s)
{
int i;