[vlc-commits] mux: mp4: fix EC3SpecificBox
Francois Cartegnie
git at videolan.org
Fri Dec 21 16:13:30 CET 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Dec 21 12:59:08 2018 +0100| [966214853d0e3c04154903beb33a228b413c2598] | committer: Francois Cartegnie
mux: mp4: fix EC3SpecificBox
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=966214853d0e3c04154903beb33a228b413c2598
---
modules/mux/mp4/libmp4mux.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/mux/mp4/libmp4mux.c b/modules/mux/mp4/libmp4mux.c
index 4581417799..208a7c47ee 100644
--- a/modules/mux/mp4/libmp4mux.c
+++ b/modules/mux/mp4/libmp4mux.c
@@ -829,10 +829,11 @@ static bo_t *GetDac3Tag(const uint8_t *p_data, size_t i_data)
bs_write(&s, 2, fscod);
bs_write(&s, 5, bsid);
bs_write(&s, 3, bsmod);
+ bs_write(&s, 2, 0);
bs_write(&s, 3, acmod);
bs_write(&s, 1, lfeon);
bs_write(&s, 5, frmsizecod >> 1); // bit_rate_code
- bs_write(&s, 5, 0); // reserved
+ bs_write(&s, 3, 0); // reserved
bo_add_mem(dac3, sizeof(mp4_a52_header), mp4_a52_header);
More information about the vlc-commits
mailing list