mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-02 14:20:06 +00:00
gst/wavparse/gstwavparse.c: Fix use of uninitialised values if we're NOT seeking in ready.
Original commit message from CVS: * gst/wavparse/gstwavparse.c: (gst_wavparse_fmt), (gst_wavparse_perform_seek), (gst_wavparse_stream_headers): Fix use of uninitialised values if we're NOT seeking in ready. Fix typos.
This commit is contained in:
parent
8f478f5e2c
commit
26c9baa830
2 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
|||
2006-05-12 Michael Smith <msmith@fluendo.com>
|
||||
|
||||
* gst/wavparse/gstwavparse.c: (gst_wavparse_fmt),
|
||||
(gst_wavparse_perform_seek), (gst_wavparse_stream_headers):
|
||||
Fix use of uninitialised values if we're NOT seeking in ready.
|
||||
Fix typos.
|
||||
|
||||
2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/wavparse/Makefile.am:
|
||||
|
|
|
@ -591,7 +591,7 @@ gst_wavparse_fmt (GstWavParse * wav)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
/* Note: gst_riff_create_audio_caps might nedd to fix values in
|
||||
/* Note: gst_riff_create_audio_caps might need to fix values in
|
||||
* the header header depending on the format, so call it first */
|
||||
caps = gst_riff_create_audio_caps (header->format, NULL, header, NULL);
|
||||
|
||||
|
@ -774,7 +774,7 @@ gst_wavparse_perform_seek (GstWavParse * wav, GstEvent * event)
|
|||
GstEvent *newsegment;
|
||||
GstFormat format;
|
||||
GstSeekFlags flags;
|
||||
GstSeekType cur_type, stop_type;
|
||||
GstSeekType cur_type = GST_SEEK_TYPE_NONE, stop_type;
|
||||
gint64 cur, stop;
|
||||
gboolean flush;
|
||||
gboolean update;
|
||||
|
@ -1030,7 +1030,7 @@ gst_wavparse_stream_headers (GstWavParse * wav)
|
|||
gst_buffer_unref (buf);
|
||||
}
|
||||
|
||||
/* Note: gst_riff_create_audio_caps might nedd to fix values in
|
||||
/* Note: gst_riff_create_audio_caps might need to fix values in
|
||||
* the header header depending on the format, so call it first */
|
||||
caps =
|
||||
gst_riff_create_audio_caps (header->format, NULL, header, extra,
|
||||
|
|
Loading…
Reference in a new issue