summaryrefslogtreecommitdiffstats
path: root/stream/stream.c
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2015-12-21 13:19:44 -0800
committerwm4 <wm4@nowhere>2015-12-21 22:28:12 +0100
commitfccc3d3894c839f677a5955090584ec3b763ca1a (patch)
tree58ab6d4859abfd0688675711e5fe8de34bdf8ab7 /stream/stream.c
parent7fa06e46c4f63c58dcb2590c28631edd6756c358 (diff)
downloadmpv-fccc3d3894c839f677a5955090584ec3b763ca1a.tar.bz2
mpv-fccc3d3894c839f677a5955090584ec3b763ca1a.tar.xz
Fix some typos in code comments
Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'stream/stream.c')
-rw-r--r--stream/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream.c b/stream/stream.c
index 1ceb184c48..cf9a8ea143 100644
--- a/stream/stream.c
+++ b/stream/stream.c
@@ -500,7 +500,7 @@ int stream_fill_buffer(stream_t *s)
}
// Read between 1..buf_size bytes of data, return how much data has been read.
-// Return 0 on EOF, error, of if buf_size was 0.
+// Return 0 on EOF, error, or if buf_size was 0.
int stream_read_partial(stream_t *s, char *buf, int buf_size)
{
assert(s->buf_pos <= s->buf_len);