[bTSstream-devel] [Git][videolan/bitstream][master] desc_0e: fix decoding of max bitrate value in bitrate
Christophe Massiot (@cmassiot)
gitlab at videolan.org
Tue Dec 9 09:43:30 UTC 2025
Christophe Massiot pushed to branch master at VideoLAN / bitstream
Commits:
90a867c3 by Christophe Massiot at 2025-12-09T10:43:00+01:00
desc_0e: fix decoding of max bitrate value in bitrate
- - - - -
1 changed file:
- mpeg/psi/desc_0e.h
Changes:
=====================================
mpeg/psi/desc_0e.h
=====================================
@@ -77,13 +77,13 @@ static inline void desc0e_print(const uint8_t *p_desc, f_print pf_print,
pf_print(opaque, "<MAXIMUM_BITRATE_DESC max_bitrate_raw=\"%u\" max_octetrate=\"%u\" max_bitrate=\"%u\"/>",
desc0e_get_max_bitrate(p_desc),
desc0e_get_max_bitrate(p_desc) * 50,
- desc0e_get_max_bitrate(p_desc) * 50000);
+ desc0e_get_max_bitrate(p_desc) * 50 * 8);
break;
default:
pf_print(opaque, " - desc 0e maximum_bitrate max_bitrate_raw=%u max_octetrate=%u max_bitrate=%u",
desc0e_get_max_bitrate(p_desc),
desc0e_get_max_bitrate(p_desc) * 50,
- desc0e_get_max_bitrate(p_desc) * 50000);
+ desc0e_get_max_bitrate(p_desc) * 50 * 8);
}
}
View it on GitLab: https://code.videolan.org/videolan/bitstream/-/commit/90a867c311b6053c26ead7e39088e840315a082b
--
View it on GitLab: https://code.videolan.org/videolan/bitstream/-/commit/90a867c311b6053c26ead7e39088e840315a082b
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the biTStream-devel
mailing list