diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-08-03 10:14:48 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-08-06 19:10:28 +0000 |
commit | af9b62654d5aa023a96906215365532d18541a09 (patch) | |
tree | a6ba727eafa83d1e5b5caae8b3034d4e64321e50 /libavfilter/avfilter.h | |
parent | 80c268eaaee402695a74d14acf76063100692a99 (diff) | |
download | ffmpeg-af9b62654d5aa023a96906215365532d18541a09.tar.gz |
svq1: do not modify the input packet
The input data must remain constant, make a copy instead. This is in
theory a performance hit, but since I failed to find any samples
using this feature, this should not matter in practice.
Also, check the size of the header, avoiding invalid reads on truncated
data.
CC:libav-stable@libav.org
(cherry picked from commit 7b588bb691644e1b3c168b99accf74248a24e3cf)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Conflicts:
libavcodec/svq1dec.c
Diffstat (limited to 'libavfilter/avfilter.h')
0 files changed, 0 insertions, 0 deletions