diff options
author | Anton Khirnov <[email protected]> | 2014-08-03 10:14:48 +0200 |
---|---|---|
committer | Anton Khirnov <[email protected]> | 2014-08-06 19:10:28 +0000 |
commit | af9b62654d5aa023a96906215365532d18541a09 (patch) | |
tree | a6ba727eafa83d1e5b5caae8b3034d4e64321e50 /libavutil/parseutils.c | |
parent | 80c268eaaee402695a74d14acf76063100692a99 (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]>
Conflicts:
libavcodec/svq1dec.c
Diffstat (limited to 'libavutil/parseutils.c')
0 files changed, 0 insertions, 0 deletions