avcodec/tscc: Move reading the side data palette before other checks
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 15 Jul 2018 12:01:40 +0000 (14:01 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 23 Jul 2018 00:58:38 +0000 (02:58 +0200)
commit679bfa453f60e61178cc93cb85d2b272ccd23fea
tree2aafeebc042d9e4640dbbb4e1e7fa4b75d21c665
parent3237f018fd0e0c0fe8ffb2b1cece23ee58a220a8
avcodec/tscc: Move reading the side data palette before other checks

We do not want to loose the side data in case of errors

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