aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/webvttdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-30 14:36:20 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-11-06 17:41:26 +0100
commit5a157313b3860887947b6fe51d313aa4d397d3a0 (patch)
tree9243fdd9400968aaf92806d7d9f829fd5b53884a /libavcodec/webvttdec.c
parent83dfc21a212cc0b03d1db17df072bfe7c4a3333a (diff)
downloadffmpeg-5a157313b3860887947b6fe51d313aa4d397d3a0.tar.gz
avcodec/vc1dec: Don't open and close decoder during init
This is done since 16af29a7a6deff3f6081fca1e36ad96cf8fec77d (and is actually unnecessary, because the tables initialized in ff_msmpeg4_decode_init() are only ever used in vc1_block.c which is only entered after a call to ff_msmpeg4_decode_init()) in a very ugly manner; said manner had the byproduct of involving lots of unnecessary allocations and even opening and closing a hwaccel in case one is used. This commit achieves the aim of 16af29a7a6deff3f6081fca1e36ad96cf8fec77d by initializing the VLCs used by VC-1 in ff_vc1_init_common(). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/webvttdec.c')
0 files changed, 0 insertions, 0 deletions