nutdec: abort if EOF is reached in decode_info_header/read_sm_data
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Tue, 19 May 2015 22:34:42 +0000 (00:34 +0200)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Wed, 20 May 2015 18:43:54 +0000 (20:43 +0200)
commitbb23a15df507440deb0dcf25099d321d0f73dc28
tree22a5ce8a76c3789abed0bdd1c6f4aaff601f3a3e
parent265d884eb076aca31a84596a41eb8b9db96db6b4
nutdec: abort if EOF is reached in decode_info_header/read_sm_data

These loops can take a lot of time if count is very large.

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavformat/nutdec.c