avformat/swfdec: Fix inflate() error code check
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 19 Aug 2016 08:28:22 +0000 (10:28 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 25 Aug 2016 01:29:35 +0000 (03:29 +0200)
commit4770eac663da306fc8298ff8b73ebeabdc23489c
treecae9bc7e3ace4fec80ad07beefaeaaefff90016a
parentafd57722e1a8b749fc3c753824d26c2d7c0f9106
avformat/swfdec: Fix inflate() error code check

Fixes infinite loop
Fixes endless.poc

Found-by: 连一汉 <lianyihan@360.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit a453bbb68f3eec202673728988bba3bc76071761)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/swfdec.c