diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-20 18:58:23 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-23 13:51:18 +0100 |
commit | bcf707639e2eb308407cf5536153a27bdff91990 (patch) | |
tree | e9497506d2599d6007a40de164836a6e262847a5 /libavfilter/vf_pixdesctest.c | |
parent | 3ab1a890e84cd109ad3a87b4c93f8c2de5b27f5a (diff) | |
download | ffmpeg-bcf707639e2eb308407cf5536153a27bdff91990.tar.gz |
avcodec/svq3: Don't copy watermarked frame data twice
The SVQ3 decoder modifies the input bitstream at two places.
One of them is only reached when the file is watermarked.
Therefore commit 2264c1108135380c49fdf0aef97520bf77a6ed37
made a copy of all the frame data in this case.
But there is a second possibility for modifying the frame and
therefore Libav commit 1098f5c0495c61a98d4ff6b8e24c17974d4bace5
made the decoder always copy the data. This of course makes
the additional copy for watermarked frames redundant, but it hasn't
been removed. This commit does so.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavfilter/vf_pixdesctest.c')
0 files changed, 0 insertions, 0 deletions