mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
matroskademux: Fix off-by-one when parsing multi-channel WavPack
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8057>
This commit is contained in:
parent
c0dceda8e9
commit
b7ad9a2c5d
1 changed files with 1 additions and 1 deletions
|
@ -3976,7 +3976,7 @@ gst_matroska_demux_add_wvpk_header (GstElement * element,
|
|||
data += 4;
|
||||
size -= 4;
|
||||
|
||||
while (size > 12) {
|
||||
while (size >= 12) {
|
||||
flags = GST_READ_UINT32_LE (data);
|
||||
data += 4;
|
||||
size -= 4;
|
||||
|
|
Loading…
Reference in a new issue