aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/hnm4video.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-05 22:49:21 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-09 08:16:25 +0100
commitca9586375828bbb4d8ef7eeeb3ad3b55116c6fd7 (patch)
tree9bf243d26fee207e2076972fa4e9b805a50315ec /libavcodec/hnm4video.c
parent38f234c06ee0d98c3568120338c1ec4078f8f9cc (diff)
downloadffmpeg-ca9586375828bbb4d8ef7eeeb3ad3b55116c6fd7.tar.gz
avcodec/vc1dec: Don't call ff_get_format() twice
It is currently called once in the codecs' init function and once when (re)initializing the VC-1 decode context (which happens upon frame size changes as well as before decoding the first frame). The first one is unnecessary now that vc1_decode_frame() no longer requires avctx->hwaccel to be already set for hwaccel to work properly. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/hnm4video.c')
0 files changed, 0 insertions, 0 deletions