diff options
author | wm4 <[email protected]> | 2015-01-13 14:47:47 +0100 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2015-01-13 23:42:16 +0100 |
commit | b1959b1719c81eb93e06fae4788200d172b7a9fd (patch) | |
tree | 8af9da8dfe0003f2248fcd213d56cf06783400ba /libavutil/softfloat.h | |
parent | ecae610207e35d6e7b4cb7e773414ed172c55adf (diff) |
qpeg: avoid pointless invalid memcpy()
If refdata was NULL, the memcpy() ended up copying the same memory
block onto itself, which is not only pointless, but also undefined
behavior.
Signed-off-by: Michael Niedermayer <[email protected]>
(cherry picked from commit 921706691a87c3ea5f5b92afd9b423e5f8c6e9d9)
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavutil/softfloat.h')
0 files changed, 0 insertions, 0 deletions