wenjie.zhao

fix hls muxer Segmentation fault.

@@ -731,6 +731,8 @@ int SrsHlsCache::write_audio(SrsAvcAacCodec* codec, SrsHlsMuxer* muxer, int64_t @@ -731,6 +731,8 @@ int SrsHlsCache::write_audio(SrsAvcAacCodec* codec, SrsHlsMuxer* muxer, int64_t
731 } 731 }
732 } 732 }
733 733
  734 + // cache->audio will be free in flush_audio
  735 + // so we must check whether it's null ptr.
734 if (!cache->audio) { 736 if (!cache->audio) {
735 return ret; 737 return ret;
736 } 738 }