summaryrefslogtreecommitdiffstats
path: root/waftools
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-07-19 12:34:07 +0200
committerwm4 <wm4@nowhere>2014-07-19 12:34:07 +0200
commit887140b7d4c79f3afd3edc26591f9938a0acae38 (patch)
tree24dbb92784947fbf39c83fdf05f657ef55880733 /waftools
parentcfdb1312dad025ca29c0841d9cbe3cdb9885a1d5 (diff)
downloadmpv-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 'waftools')
0 files changed, 0 insertions, 0 deletions