summaryrefslogtreecommitdiffstats
path: root/libavutil/hwcontext_stub.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <[email protected]>2025-05-19 17:18:38 +0200
committerAndreas Rheinhardt <[email protected]>2025-05-26 04:47:02 +0200
commiteb5d900f87faeaca5a79b96a2faee0153ad8c7b1 (patch)
tree3d15cb8269263dd0eef91d66911138829ec37e9d /libavutil/hwcontext_stub.c
parent6af1bcb180340c917429d523cea78010ec822c3e (diff)
avcodec/mpeg4videodec: Remove unnecessary ff_xvid_idct_init()
It is unnecessary: If the dst context is not already initialized, then it will be initialized by memcpy(dst, src, sizeof(*dst), which already initializes the IDCT to the desired one, potentially followed by ff_mpv_common_init(), which does not touch the IDCT. (This call has been added in f89d76c10355242c39b08f253c1d1524f45ef778; the aforementioned copying took place back then, too, but ff_mpv_common_init() reinitialized the IDCT to a non-xvid one, therefore the initialization here has been added to fix multithreaded decoding.) Signed-off-by: Andreas Rheinhardt <[email protected]>
Diffstat (limited to 'libavutil/hwcontext_stub.c')
0 files changed, 0 insertions, 0 deletions