avformat/pva: Check for EOF before retrying in read_part_of_packet()
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 3 Jul 2018 20:14:42 +0000 (22:14 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 9 Jul 2018 23:52:56 +0000 (01:52 +0200)
commitc75b8c9733efce84304a2dcec1bbfe806ab2e90f
tree0056f1f0d47db451e84ff622d3b6598436056d23
parent4652b0f8fe8a444619f695bc1921d0d8133e1203
avformat/pva: Check for EOF before retrying in read_part_of_packet()

Fixes: Infinite loop
Fixes: pva-4b1835dbc2027bf3c567005dcc78e85199240d06

Found-by: Paul Ch <paulcher@icloud.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 9807d3976be0e92e4ece3b4b1701be894cd7c2e1)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/pva.c