summaryrefslogtreecommitdiffstats
path: root/libavcodec/vaapi_encode.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <[email protected]>2022-09-28 17:58:00 +0200
committerAndreas Rheinhardt <[email protected]>2022-10-02 20:27:36 +0200
commit87f243911e0769b560162bce1a356699784e1fea (patch)
tree3fe52a25c916521a9b63d6c316983b9c770292e4 /libavcodec/vaapi_encode.h
parent73f104201b2c4c63f71c65bd11880c87bcb17a8a (diff)
avcodec/rl2: Fix undefined pointer arithmetic
Don't increment back_frame if it does not correspond to a real buffer. To do this, handle copying from the back frame separately from the "use coded value" codepath; also use memcpy for the former, as the chunks here are typically worth it. Signed-off-by: Andreas Rheinhardt <[email protected]>
Diffstat (limited to 'libavcodec/vaapi_encode.h')
0 files changed, 0 insertions, 0 deletions