avformat/img2dec: fix infinite loop
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 10 Mar 2018 00:40:36 +0000 (01:40 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 10 Mar 2018 01:44:45 +0000 (02:44 +0100)
commita6cba062051f345e8ebfdff34aba071ed73d923f
tree01e84ff4736a9acfbad7604cb9cd69c1bcf7d1ad
parentf655ddfb47e8484b205b14c7f871c643ad24d701
avformat/img2dec: fix infinite loop

Fixes: kira-poc

Found-by: Kira <kira_cxy@foxmail.com>
Change suggested by Kira
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/img2dec.c