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

refine the file stream, to file reader and writer. 0.9.142

This commit is contained in:
winlin 2014-06-29 17:05:26 +08:00
parent ed3f9f0a40
commit 1a7735182f
13 changed files with 167 additions and 121 deletions

View file

@ -300,10 +300,10 @@ int SrsHttpVhost::response_flv_file2(SrsSocket* skt, SrsHttpMessage* req, string
{
int ret = ERROR_SUCCESS;
SrsFileStream fs;
SrsFileReader fs;
// open flv file
if ((ret = fs.open_read(fullpath)) != ERROR_SUCCESS) {
if ((ret = fs.open(fullpath)) != ERROR_SUCCESS) {
return ret;
}