avcodec/jpeg2000dec: Limit poc end fields to whats available in jpeg2000_decode_packets()
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 27 Jun 2015 09:48:42 +0000 (11:48 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 27 Jun 2015 09:48:42 +0000 (11:48 +0200)
commit8672c0a6436c9fc9d107617cf28cafe09ad3d9a5
tree89de9d6b34061a928a34381598fa29d2392b7def
parentaab4dbe534e2272fc18e978d921ab696cb067407
avcodec/jpeg2000dec: Limit poc end fields to whats available in jpeg2000_decode_packets()

Fixes: Ticket4677

Solution based on information from
https://code.google.com/p/openjpeg/issues/detail?id=80

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/jpeg2000dec.c