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>
Sat, 4 Feb 2017 02:05:08 +0000 (03:05 +0100)
commit9797929749d040d0cdd2be3d99e739f8526cf01c
tree112c67b34ab526b6ac5f626c4dfbe7f7cc086e68
parentdfca37f0e513236cf824d9d0d3aedd9b76014ab5
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