avcodec/jpeg2000dec: Free lengthinc earlier
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 17 Dec 2017 22:35:26 +0000 (23:35 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 21 Dec 2017 18:48:41 +0000 (19:48 +0100)
commit80344959f064c7ea10d023862e0f6b79835de9de
tree1850e87ad5589296d5a2b530fa40e96c88b4f571
parent4b2a186ef02c1fbe7f7cae30a2bdfff72bcc75f7
avcodec/jpeg2000dec: Free lengthinc earlier

Reduces memory needed

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