mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 21:18:52 +00:00
ext/vorbis/vorbisdec.c: No warnings (#157986).
Original commit message from CVS: reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net> * ext/vorbis/vorbisdec.c: (vorbis_dec_src_query): No warnings (#157986).
This commit is contained in:
parent
4c305b8cb5
commit
99032c54d3
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2004-11-11 Tim-Philipp Müller <t.i.m@zen.co.uk>
|
||||
|
||||
reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* ext/vorbis/vorbisdec.c: (vorbis_dec_src_query):
|
||||
No warnings (#157986).
|
||||
|
||||
2004-11-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
|
||||
|
|
|
@ -245,7 +245,8 @@ vorbis_dec_src_query (GstPad * pad, GstQueryType query, GstFormat * format,
|
|||
granulepos = dec->granulepos;
|
||||
} else {
|
||||
/* query peer in default format */
|
||||
if (!gst_pad_query (GST_PAD_PEER (dec->sinkpad), query, &my_format,
|
||||
if (!dec->sinkpad ||
|
||||
!gst_pad_query (GST_PAD_PEER (dec->sinkpad), query, &my_format,
|
||||
&granulepos))
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue