aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/yuv4mpeg.h
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2015-01-13 14:47:47 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-01-13 17:27:45 +0100
commit921706691a87c3ea5f5b92afd9b423e5f8c6e9d9 (patch)
treee02ce2c68d119c6400c9ed15916089a67e5767bd /libavformat/yuv4mpeg.h
parent295b79b5d8c0cf0a9691f8d6b512aa1e289d528d (diff)
downloadffmpeg-921706691a87c3ea5f5b92afd9b423e5f8c6e9d9.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>
Diffstat (limited to 'libavformat/yuv4mpeg.h')
0 files changed, 0 insertions, 0 deletions