dcaparse: use right variable

Fixes use of unitialized variable.

https://bugzilla.gnome.org/show_bug.cgi?id=667085
This commit is contained in:
Matej Knopp 2011-12-31 23:33:33 -05:00 committed by Tim-Philipp Müller
parent 5fd2b7abe3
commit 03408a475c

View file

@ -333,7 +333,7 @@ gst_dca_parse_check_valid_frame (GstBaseParse * parse,
if (G_LIKELY (parser_in_sync && dcaparse->last_sync != 0)) {
off = gst_byte_reader_masked_scan_uint32 (&r, 0xffffffff,
dcaparse->last_sync, 0, size);
dcaparse->last_sync, 0, bufsize);
}
if (G_UNLIKELY (off < 0)) {