mpegts: propagate avio EOF in read_packet()
authorJindrich Makovicka <jindrich.makovicka@nangu.tv>
Thu, 31 Mar 2011 14:58:50 +0000 (16:58 +0200)
committerAnton Khirnov <anton@khirnov.net>
Thu, 31 Mar 2011 17:46:28 +0000 (19:46 +0200)
commite006d71fa849542eb27146efac629288703b3d75
treecba12341f69b37b7d3ec025e28afd3a0297d54fd
parent1c69c79f2b11627cb50f1bc571de97ad8cbfefb7
mpegts: propagate avio EOF in read_packet()

Allows distinguishing between EOF and IO error in read_packet return code.

Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/mpegts.c