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

for #293, add aac encoder for http aac stream.

This commit is contained in:
winlin 2015-01-18 22:51:07 +08:00
parent 77e43d1813
commit c0233542bf
8 changed files with 528 additions and 30 deletions

View file

@ -371,7 +371,7 @@ int SrsGoHttpFileServer::serve_file(ISrsGoHttpResponseWriter* w, SrsHttpMessage*
}
if (true) {
ssize_t pos;
size_t pos;
std::string ext = fullpath;
if ((pos = ext.rfind(".")) != string::npos) {
ext = ext.substr(pos);