avformat/rmdec: Fix EOF check in the stream loop in ivr_read_header()
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 16 Aug 2018 13:36:29 +0000 (15:36 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 22 Oct 2018 23:44:40 +0000 (01:44 +0200)
commit0ea54cae21824dab70c1d11a329ea3bbab3538af
treebf6bc3b30ffe122ccc06c3d4bc21cad913b65f3c
parentf1425b389a3b7d4758d2b1faf97f2624e27c3819
avformat/rmdec: Fix EOF check in the stream loop in ivr_read_header()

Fixes: long running loop
Fixes: ivr-timeout-42468cb797f52f025fb329394702f5d4d64322d6

Found-by: Paul Ch <paulcher@icloud.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit c2eec1762d372663c35aaf3d6ee419bafb185057)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/rmdec.c