[FFmpeg-cvslog] avcodec/libvpxdec: remove unnecessary init_static_data function

James Almer git at videolan.org
Thu Mar 2 00:08:06 EET 2023


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Mon Feb 27 10:37:18 2023 -0300| [8d226fb9786f34760e80e0d6b403bd63e9ac4ddd] | committer: James Almer

avcodec/libvpxdec: remove unnecessary init_static_data function

It's used only by the encoder.

Reviewed-by: James Zern <jzern at google.org>
Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8d226fb9786f34760e80e0d6b403bd63e9ac4ddd
---

 libavcodec/libvpxdec.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/libvpxdec.c b/libavcodec/libvpxdec.c
index 0ae19c3f72..8e6291fe20 100644
--- a/libavcodec/libvpxdec.c
+++ b/libavcodec/libvpxdec.c
@@ -391,6 +391,5 @@ FFCodec ff_libvpx_vp9_decoder = {
     FF_CODEC_DECODE_CB(vpx_decode),
     .caps_internal  = FF_CODEC_CAP_NOT_INIT_THREADSAFE |
                       FF_CODEC_CAP_AUTO_THREADS,
-    .init_static_data = ff_vp9_init_static,
 };
 #endif /* CONFIG_LIBVPX_VP9_DECODER */



More information about the ffmpeg-cvslog mailing list