summaryrefslogtreecommitdiffstats
path: root/stream/asf_streaming.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/asf_streaming.c')
-rw-r--r--stream/asf_streaming.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/asf_streaming.c b/stream/asf_streaming.c
index 13ff3d57ec..7edb0d856a 100644
--- a/stream/asf_streaming.c
+++ b/stream/asf_streaming.c
@@ -470,7 +470,7 @@ static int asf_http_streaming_read( int fd, char *buffer, int size, streaming_ct
if (drop_chunk) continue;
}
if (rest == 0 && waiting > 0 && size-read > 0) {
- int s = MIN(waiting,size-read);
+ int s = FFMIN(waiting,size-read);
memset(buffer+read,0,s);
waiting -= s;
read += s;