1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

refine code for #277, the copy first param is the dest.

This commit is contained in:
winlin 2015-01-18 09:16:14 +08:00
parent c695a8fcbd
commit bfff8413b6
3 changed files with 4 additions and 4 deletions

View file

@ -127,7 +127,7 @@ int SrsVodStream::serve_flv_stream(ISrsGoHttpResponseWriter* w, SrsHttpMessage*
}
// send data
if ((ret = copy(&fs, w, r, left)) != ERROR_SUCCESS) {
if ((ret = copy(w, &fs, r, left)) != ERROR_SUCCESS) {
srs_warn("read flv=%s size=%d failed, ret=%d", fullpath.c_str(), left, ret);
return ret;
}