mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
aacparse: fix varlength number reading as per spec
https://bugzilla.gnome.org/show_bug.cgi?id=769278
This commit is contained in:
parent
991e46ce42
commit
740749ac55
1 changed files with 1 additions and 1 deletions
|
@ -481,7 +481,7 @@ gst_aac_parse_latm_get_value (GstAacParse * aacparse, GstBitReader * br,
|
|||
*value = 0;
|
||||
if (!gst_bit_reader_get_bits_uint8 (br, &bytes, 2))
|
||||
return FALSE;
|
||||
for (i = 0; i < bytes; ++i) {
|
||||
for (i = 0; i <= bytes; ++i) {
|
||||
*value <<= 8;
|
||||
if (!gst_bit_reader_get_bits_uint8 (br, &byte, 8))
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue