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>
Thu, 5 Jul 2018 17:52:42 +0000 (19:52 +0200)
commit9807d3976be0e92e4ece3b4b1701be894cd7c2e1
tree8bb509cb7106d2ac5bcc9f2ba7761fc54ac04e2e
parenta7e032a277452366771951e29fd0bf2bd5c029f0
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>
libavformat/pva.c