avcodec/interplayvideo: Move parameter change check up
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 4 Feb 2017 01:45:02 +0000 (02:45 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 6 Feb 2017 09:17:13 +0000 (10:17 +0100)
commitd399f25bd1e62c6cb41f40b74ebdf65310e3f3ce
tree3ab4b822185f9df940bf5a75eaeaeb4c5520114f
parent7323a8ab2970d4b7c9b5a96738e4bf82c90459b1
avcodec/interplayvideo: Move parameter change check up

Fixes out of array read
Fixes: 544/clusterfuzz-testcase-5936536407244800.f8bd9b24_8ba77916_70c2c7be_3df6a2ea_96cd9f14

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit b1e2192007d7026049237c9ab11e05ae71bf4f42)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/interplayvideo.c