summaryrefslogtreecommitdiffstats
path: root/libavcodec/rangecoder.h
diff options
context:
space:
mode:
authorAnton Khirnov <[email protected]>2014-08-03 10:14:48 +0200
committerAnton Khirnov <[email protected]>2014-08-06 19:05:34 +0000
commitd513c6a0ee582d22b6e793286774abbde01f6680 (patch)
treebddd646c9e08558df57182e2d9f9eb4eb7c575a2 /libavcodec/rangecoder.h
parent18f48e05a22a73a389fb3ab4b3eaf78903bab5ef (diff)
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:[email protected] (cherry picked from commit 7b588bb691644e1b3c168b99accf74248a24e3cf) Signed-off-by: Anton Khirnov <[email protected]>
Diffstat (limited to 'libavcodec/rangecoder.h')
0 files changed, 0 insertions, 0 deletions