diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-28 17:58:00 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-02 20:27:36 +0200 |
commit | 87f243911e0769b560162bce1a356699784e1fea (patch) | |
tree | 3fe52a25c916521a9b63d6c316983b9c770292e4 /libavcodec/vorbisdec.c | |
parent | 73f104201b2c4c63f71c65bd11880c87bcb17a8a (diff) | |
download | ffmpeg-87f243911e0769b560162bce1a356699784e1fea.tar.gz |
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 <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/vorbisdec.c')
0 files changed, 0 insertions, 0 deletions