aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/opengl_enc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-27 16:01:31 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-04 18:01:01 +0200
commit8a61f66381e459d6b33334fb104a09e55d051b58 (patch)
tree4a11818232c4d7f714ef4a956069ba48e340ebd6 /libavdevice/opengl_enc.c
parent22e7e4e19d4a874edcbbf03dcde07cf44af3f783 (diff)
downloadffmpeg-8a61f66381e459d6b33334fb104a09e55d051b58.tar.gz
avocdec/cavsdsp: Fix undefined pointer arithmetic
src2 is used in CAVS_SUBPIX_HV iff FULL is true (it is exactly for the egpr functions); otherwise it might be NULL. So check for FULL before doing pointer arithmetic. Fixes a "src/libavcodec/cavsdsp.c:524:1: runtime error: applying non-zero offset 8 to null pointer" from UBSan. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavdevice/opengl_enc.c')
0 files changed, 0 insertions, 0 deletions