Write optional parts of aac_descriptor

sdt
Kieran Kunhya 2012-09-12 16:28:58 +01:00
rodzic 9e9fc97874
commit 09a210b077
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -27,8 +27,10 @@
void write_aac_descriptor( bs_t *s, ts_int_stream_t *stream )
{
bs_write( s, 8, DVB_AAC_DESCRIPTOR_TAG ); // descriptor_tag
bs_write( s, 8, 1 ); // descriptor_length
bs_write( s, 8, 2 ); // descriptor_length
bs_write( s, 8, stream->aac_profile ); // profile_and_level
bs_write( s, 1, 0 ); // AAC_type_flag
bs_write( s, 7, 0x7f ); // reserved
}
void write_adaptation_field_data_descriptor( bs_t *s, uint8_t identifier )