summaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/videodsp_init.c
diff options
context:
space:
mode:
authorwm4 <[email protected]>2015-01-13 14:47:47 +0100
committerMichael Niedermayer <[email protected]>2015-01-13 17:27:45 +0100
commit921706691a87c3ea5f5b92afd9b423e5f8c6e9d9 (patch)
treee02ce2c68d119c6400c9ed15916089a67e5767bd /libavcodec/x86/videodsp_init.c
parent295b79b5d8c0cf0a9691f8d6b512aa1e289d528d (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]>
Diffstat (limited to 'libavcodec/x86/videodsp_init.c')
0 files changed, 0 insertions, 0 deletions