swscale/utils: Allow sws_setColorspaceDetails() to use the tables from sws_getColorsp...
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 17 Sep 2013 15:21:13 +0000 (17:21 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 17 Sep 2013 15:21:13 +0000 (17:21 +0200)
commitaec91de549612ba493f1b7c569a23c116ccd757a
tree58382f68bc1d079626130d159bb75458a49c5b7b
parent09887096734eabaac5454b3fb5e4489457ac9434
swscale/utils: Allow sws_setColorspaceDetails() to use the tables from sws_getColorspaceDetails()

Previously this would have lead to a memcpy(a,a) which violates the
requirement of non overlapping src and dst.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswscale/utils.c