aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/ppc/yuv2yuv_altivec.c
diff options
context:
space:
mode:
authorDale Curtis <dalecurtis@chromium.org>2024-07-30 23:12:21 +0000
committerAnton Khirnov <anton@khirnov.net>2024-09-01 12:42:20 +0200
commit7753a9d62725d5bd8313e2d249acbe1c8af79ab1 (patch)
tree8753e5599beb63228a285da62eb6aaa8646e9cec /libswscale/ppc/yuv2yuv_altivec.c
parent0a780d3076fe44fe6d641e84e291b567fca29999 (diff)
downloadffmpeg-7753a9d62725d5bd8313e2d249acbe1c8af79ab1.tar.gz
lavc: Check codec_whitelist early in avcodec_open2()
This ensures that if a codec isn't on codec_whitelist, trying to open it will not trigger ff_codec_close(), which could invalidate useful information still present in the context. Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libswscale/ppc/yuv2yuv_altivec.c')
0 files changed, 0 insertions, 0 deletions