summaryrefslogtreecommitdiffstats
path: root/gst/wavparse
diff options
context:
space:
mode:
authorMichael Smith <msmith@xiph.org>2006-05-12 17:44:15 +0000
committerMichael Smith <msmith@xiph.org>2006-05-12 17:44:15 +0000
commit26c9baa8309c0e9723efb9d32deeaa5314ed130c (patch)
tree39938acefe383bc2c735d83ae877472f50c73297 /gst/wavparse
parent8f478f5e2ca7fb2c4e5789cb582ed9764e19920a (diff)
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.
Diffstat (limited to 'gst/wavparse')
-rw-r--r--gst/wavparse/gstwavparse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c
index 7f04622e..57d9d073 100644
--- a/gst/wavparse/gstwavparse.c
+++ b/gst/wavparse/gstwavparse.c
@@ -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,