mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-05 15:08:48 +00:00
wavpackparse: Use an unsigned integer for the block size calculations
It's never negative. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6564>
This commit is contained in:
parent
6953204a9c
commit
2b5930f6a0
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ gst_wavpack_parse_frame_metadata (GstWavpackParse * parse, GstBuffer * buf,
|
|||
|
||||
/* need to dig metadata blocks for some more */
|
||||
while (gst_byte_reader_get_remaining (&br)) {
|
||||
gint size = 0;
|
||||
guint32 size = 0;
|
||||
guint16 size2 = 0;
|
||||
guint8 c, id;
|
||||
const guint8 *data;
|
||||
|
|
Loading…
Reference in a new issue