Merge pull request #6 from nsuja/patch-2

Fix smoothing buffer descriptor length
master
Kieran Kunhya 2021-01-30 19:13:40 +01:00 zatwierdzone przez GitHub
commit b9b1c20e6c
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -75,7 +75,7 @@ void write_registration_descriptor( bs_t *s, int descriptor_tag, int descriptor_
static void write_smoothing_buffer_descriptor( bs_t *s, ts_int_program_t *program )
{
bs_write( s, 8, SMOOTHING_BUFFER_DESCRIPTOR_TAG ); // descriptor_tag
bs_write( s, 8, 0x4 ); // descriptor_length
bs_write( s, 8, 0x6 ); // descriptor_length
bs_write( s, 2, 0x3 ); // reserved
bs_write( s, 22, program->sb_leak_rate ); // sb_leak_rate