mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-30 11:08:34 +00:00
dcaparse: use right variable
Fixes use of unitialized variable. https://bugzilla.gnome.org/show_bug.cgi?id=667085
This commit is contained in:
parent
5fd2b7abe3
commit
03408a475c
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ gst_dca_parse_check_valid_frame (GstBaseParse * parse,
|
||||||
|
|
||||||
if (G_LIKELY (parser_in_sync && dcaparse->last_sync != 0)) {
|
if (G_LIKELY (parser_in_sync && dcaparse->last_sync != 0)) {
|
||||||
off = gst_byte_reader_masked_scan_uint32 (&r, 0xffffffff,
|
off = gst_byte_reader_masked_scan_uint32 (&r, 0xffffffff,
|
||||||
dcaparse->last_sync, 0, size);
|
dcaparse->last_sync, 0, bufsize);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (G_UNLIKELY (off < 0)) {
|
if (G_UNLIKELY (off < 0)) {
|
||||||
|
|
Loading…
Reference in a new issue