diff options
author | James Almer <jamrial@gmail.com> | 2015-05-23 14:24:34 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2015-05-23 14:46:46 -0300 |
commit | 8952254ffe7f43a967a3be5fdd40e48d899c2e01 (patch) | |
tree | da4b6e4824f3a88ee2a20299b2a4cceb4c961110 /libavcodec/libwebpenc_common.c | |
parent | 57d9788d1b06eb4a410ce27f3b589fdc847a21d5 (diff) | |
download | ffmpeg-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.c | 7 |
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; -} |