summaryrefslogtreecommitdiffstats
path: root/stream/stream_file.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-11-07 14:53:19 +0100
committerwm4 <wm4@nowhere>2019-11-07 22:53:13 +0100
commitf850d82e656a9add1bd286f901f18c5213580606 (patch)
tree97fe2b74ea85f81bdb2791d676d9ba095aa576c2 /stream/stream_file.c
parent53f17a71f4bd33fdc2fc08b72138f477e8e02639 (diff)
downloadmpv-f850d82e656a9add1bd286f901f18c5213580606.tar.bz2
mpv-f850d82e656a9add1bd286f901f18c5213580606.tar.xz
stream: avoid a duplicate condition
stream_read_peek() duplicated what stream_read_more() checks for anyway (whether the forward buffer is large enough). This can be skipped by making the stream_read_more() return value more consistent.
Diffstat (limited to 'stream/stream_file.c')
0 files changed, 0 insertions, 0 deletions