summaryrefslogtreecommitdiff
path: root/libavcodec/libwebpenc_common.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2015-05-23 14:24:34 -0300
committerJames Almer <jamrial@gmail.com>2015-05-23 14:46:46 -0300
commit8952254ffe7f43a967a3be5fdd40e48d899c2e01 (patch)
treeda4b6e4824f3a88ee2a20299b2a4cceb4c961110 /libavcodec/libwebpenc_common.c
parent57d9788d1b06eb4a410ce27f3b589fdc847a21d5 (diff)
downloadffmpeg-8952254ffe7f43a967a3be5fdd40e48d899c2e01.tar.gz
libwebp: simplify AVCodec.close functions
Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/libwebpenc_common.c')
-rw-r--r--libavcodec/libwebpenc_common.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/libwebpenc_common.c b/libavcodec/libwebpenc_common.c
index 373adca756..a76b6da5d6 100644
--- a/libavcodec/libwebpenc_common.c
+++ b/libavcodec/libwebpenc_common.c
@@ -252,10 +252,3 @@ int ff_libwebp_get_frame(AVCodecContext *avctx, LibWebPContextCommon *s,
end:
return ret;
}
-
-int ff_libwebp_encode_close_common(AVCodecContext *avctx)
-{
- LibWebPContextCommon *s = avctx->priv_data;
- av_frame_free(&s->ref);
- return 0;
-}