aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/hls.c
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2015-01-13 14:47:47 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-01-13 23:42:16 +0100
commitb1959b1719c81eb93e06fae4788200d172b7a9fd (patch)
tree8af9da8dfe0003f2248fcd213d56cf06783400ba /libavformat/hls.c
parentecae610207e35d6e7b4cb7e773414ed172c55adf (diff)
downloadffmpeg-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