aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtspcodes.h
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2015-01-13 14:47:47 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-12 17:10:35 +0100
commit8a6770a214190550ce3431b3679785ea8fbbe985 (patch)
tree78c1e303adc7e0033e528195112508edb25afe4b /libavformat/rtspcodes.h
parent763e6ecf8336c1fffd226f5c3df0f95a5c0af767 (diff)
downloadffmpeg-8a6770a214190550ce3431b3679785ea8fbbe985.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/rtspcodes.h')
0 files changed, 0 insertions, 0 deletions