-
wm4 authored
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 92170669) Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
8a6770a2