Fix smoothing buffer descriptor length

pull/6/head
Nicolas Sugino 2017-05-30 13:56:36 -03:00 zatwierdzone przez GitHub
rodzic a4fbb3fd98
commit 96d0d9c475
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