summaryrefslogtreecommitdiff
path: root/libavcodec/mss2.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-22 17:55:19 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-12 18:29:10 +0200
commitc769050f56a8322091775af1f672803d8a42c775 (patch)
treec9f912d98f1dde099f8fe71b490d993594c541aa /libavcodec/mss2.c
parent5da07f18e5cb0a65b2eb5cd7308a80aa2749379c (diff)
avcodec/vc1: Don't pretend ff_vc1_init_common() can fail
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/mss2.c')
-rw-r--r--libavcodec/mss2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/mss2.c b/libavcodec/mss2.c
index 9434a740a7..3e3205ae92 100644
--- a/libavcodec/mss2.c
+++ b/libavcodec/mss2.c
@@ -751,8 +751,7 @@ static av_cold int wmv9_init(AVCodecContext *avctx)
v->s.avctx = avctx;
- if ((ret = ff_vc1_init_common(v)) < 0)
- return ret;
+ ff_vc1_init_common(v);
ff_vc1dsp_init(&v->vc1dsp);
v->profile = PROFILE_MAIN;