[FFmpeg-devel] [PATCH 5/7] avcodec/mss2: Remove redundant initialization of vc1 dsp

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Thu Apr 8 22:42:18 EEST 2021


ff_vc1_init_common() already does it.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavcodec/mss2.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/mss2.c b/libavcodec/mss2.c
index 3e3205ae92..a27fae7559 100644
--- a/libavcodec/mss2.c
+++ b/libavcodec/mss2.c
@@ -752,7 +752,6 @@ static av_cold int wmv9_init(AVCodecContext *avctx)
     v->s.avctx    = avctx;
 
     ff_vc1_init_common(v);
-    ff_vc1dsp_init(&v->vc1dsp);
 
     v->profile = PROFILE_MAIN;
 
-- 
2.27.0



More information about the ffmpeg-devel mailing list