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:
parent
c695a8fcbd
commit
bfff8413b6
3 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue