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:05:34 +0000 |
commit | d513c6a0ee582d22b6e793286774abbde01f6680 (patch) | |
tree | bddd646c9e08558df57182e2d9f9eb4eb7c575a2 /libavformat/url.c | |
parent | 18f48e05a22a73a389fb3ab4b3eaf78903bab5ef (diff) | |
download | ffmpeg-d513c6a0ee582d22b6e793286774abbde01f6680.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>
Diffstat (limited to 'libavformat/url.c')
0 files changed, 0 insertions, 0 deletions