diff options
author | Jiasheng Jiang <[email protected]> | 2025-08-03 20:32:23 +0000 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2025-08-04 01:29:45 +0200 |
commit | 55d234b4330d1588eb127cf2283a442ee341f2c2 (patch) | |
tree | d3db4b15e161d34e299e4fda6fd0231090ae2e01 /libavcodec/x86/vc1dsp_init.c | |
parent | 9ca58424ded24e931fed329174c28244b67d5670 (diff) |
libavcodec/tests/motion: Add check for avcodec_alloc_context3()
Add check for the return value of avcodec_alloc_context3() to avoid potential NULL pointer dereference.
Fixes: 5d48e4eafa ("Merge commit 'a6a750c7ef240b72ce01e9653343a0ddf247d196'")
Signed-off-by: Jiasheng Jiang <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavcodec/x86/vc1dsp_init.c')
0 files changed, 0 insertions, 0 deletions