diff options
author | wm4 <wm4@nowhere> | 2014-07-19 12:34:07 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-07-19 12:34:07 +0200 |
commit | 887140b7d4c79f3afd3edc26591f9938a0acae38 (patch) | |
tree | 24dbb92784947fbf39c83fdf05f657ef55880733 /stream/stream_rar.c | |
parent | cfdb1312dad025ca29c0841d9cbe3cdb9885a1d5 (diff) | |
download | mpv-887140b7d4c79f3afd3edc26591f9938a0acae38.tar.bz2 mpv-887140b7d4c79f3afd3edc26591f9938a0acae38.tar.xz |
demux: fix a corner case (2)
It can happen that read_packet() doesn't read a packet, even if it
succeeds. Typically this is because a packet was read, but then thrown
away, because it's not part of a selected stream. The result would be a
bogus EOF condition.
Fix by explicitly checking for EOF.
Diffstat (limited to 'stream/stream_rar.c')
0 files changed, 0 insertions, 0 deletions