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, 16 Jul 2018 17:16:13 +0000 (19:16 +0200)
commit9bb3047060c33e93ace258634aa89ee1705ec0c3
tree532fec0c6b637ed9f8a111908fa056033ea610aa
parent34654d41d4bd9abb3b848477a6dd0a7d33816d4e
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