mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
dcaparse: init variable to make osx build bot happy
gstdcaparse.c: In function 'gst_dca_parse_check_valid_frame': gstdcaparse.c:246: warning: 'best_sync' may be used uninitialized in this function
This commit is contained in:
parent
75735c4573
commit
3018bdf8de
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ static gint
|
||||||
gst_dca_parse_find_sync (GstDcaParse * dcaparse, GstByteReader * reader,
|
gst_dca_parse_find_sync (GstDcaParse * dcaparse, GstByteReader * reader,
|
||||||
const GstBuffer * buf, guint32 * sync)
|
const GstBuffer * buf, guint32 * sync)
|
||||||
{
|
{
|
||||||
guint32 best_sync;
|
guint32 best_sync = 0;
|
||||||
guint best_offset = G_MAXUINT;
|
guint best_offset = G_MAXUINT;
|
||||||
gint off;
|
gint off;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue