mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 21:51:09 +00:00
wavpackparse: initialize header to silence older gcc versions
This commit is contained in:
parent
7ca56e24bd
commit
a4ed5daae6
1 changed files with 1 additions and 1 deletions
|
@ -399,7 +399,7 @@ gst_wavpack_parse_frame_header (GstWavpackParse * parse, GstBuffer * buf,
|
||||||
gint skip, WavpackHeader * _wph)
|
gint skip, WavpackHeader * _wph)
|
||||||
{
|
{
|
||||||
GstByteReader br = GST_BYTE_READER_INIT_FROM_BUFFER (buf);
|
GstByteReader br = GST_BYTE_READER_INIT_FROM_BUFFER (buf);
|
||||||
WavpackHeader wph;
|
WavpackHeader wph = { {0,}, 0, };
|
||||||
|
|
||||||
g_return_val_if_fail (GST_BUFFER_SIZE (buf) >= skip + sizeof (WavpackHeader),
|
g_return_val_if_fail (GST_BUFFER_SIZE (buf) >= skip + sizeof (WavpackHeader),
|
||||||
FALSE);
|
FALSE);
|
||||||
|
|
Loading…
Reference in a new issue