avcodec/dxv: Subtract 12 earlier in dxv_decompress_cocg()
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 24 Sep 2019 10:40:35 +0000 (12:40 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 8 Oct 2019 14:24:58 +0000 (16:24 +0200)
commitdd9e6d077ea3259cc6c1896334bbbc7f948979b7
treec5d5b4c6a6a8578227a133b40ba423827b7843f9
parentc371e50b4f125361eb183ac3c226f4044ae64b08
avcodec/dxv: Subtract 12 earlier in dxv_decompress_cocg()

the data_start is after reading 12 bytes and if its subtracted
at the very end the intermediate might overflow

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dxv.c