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

for #301, hls support h.264+mp3, ok for vlc. 2.0.107

This commit is contained in:
winlin 2015-01-25 17:06:49 +08:00
parent 2c42350489
commit 919a85b103
7 changed files with 24 additions and 9 deletions

View file

@ -430,14 +430,14 @@ int SrsTSMuxer::open(string _path)
return ret;
}
int SrsTSMuxer::update_acodec(SrsCodecAudio acodec)
int SrsTSMuxer::update_acodec(SrsCodecAudio ac)
{
int ret = ERROR_SUCCESS;
if (current == acodec) {
if (current == ac) {
return ret;
}
current = acodec;
current = ac;
return ret;
}