mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
parent
0fe17c3e34
commit
01ed485cf3
4 changed files with 6 additions and 2 deletions
|
@ -169,7 +169,7 @@ string srs_codec_avc_level2str(SrsAvcLevel level)
|
|||
// 1 = 11 kHz = 11025 Hz
|
||||
// 2 = 22 kHz = 22050 Hz
|
||||
// 3 = 44 kHz = 44100 Hz
|
||||
int flv_sample_rates[] = {5512, 11025, 22050, 44100};
|
||||
int flv_sample_rates[] = {5512, 11025, 22050, 44100, 0};
|
||||
|
||||
// the sample rates in the codec,
|
||||
// in the sequence header.
|
||||
|
|
|
@ -652,7 +652,7 @@ int srs_av_base64_decode(u_int8_t* out, const char* in_str, int out_size)
|
|||
// no sign extension
|
||||
const u_int8_t *in = (const u_int8_t*)in_str;
|
||||
unsigned bits = 0xff;
|
||||
unsigned v;
|
||||
unsigned v = 0;
|
||||
|
||||
while (end - dst > 3) {
|
||||
BASE64_DEC_STEP(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue