diff options
author | wm4 <nfxjfg@googlemail.com> | 2015-01-13 14:47:47 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-01-13 23:42:16 +0100 |
commit | b1959b1719c81eb93e06fae4788200d172b7a9fd (patch) | |
tree | 8af9da8dfe0003f2248fcd213d56cf06783400ba /libavformat/hls.c | |
parent | ecae610207e35d6e7b4cb7e773414ed172c55adf (diff) | |
download | ffmpeg-b1959b1719c81eb93e06fae4788200d172b7a9fd.tar.gz |
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 <michaelni@gmx.at>
(cherry picked from commit 921706691a87c3ea5f5b92afd9b423e5f8c6e9d9)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/hls.c')
0 files changed, 0 insertions, 0 deletions