mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 19:55:32 +00:00
oggdemux: use right type for the serialno
Use a consistent type for the serialno to avoid problems when comparing between signed and unsigned variants. Fixes #607926
This commit is contained in:
parent
95511c8821
commit
e4b68a3658
2 changed files with 4 additions and 4 deletions
|
@ -2551,7 +2551,7 @@ gst_ogg_demux_read_end_chain (GstOggDemux * ogg, GstOggChain * chain)
|
|||
/* find a pad with a given serial number
|
||||
*/
|
||||
static GstOggPad *
|
||||
gst_ogg_demux_find_pad (GstOggDemux * ogg, int serialno)
|
||||
gst_ogg_demux_find_pad (GstOggDemux * ogg, glong serialno)
|
||||
{
|
||||
GstOggPad *pad;
|
||||
gint i;
|
||||
|
@ -2583,7 +2583,7 @@ gst_ogg_demux_find_pad (GstOggDemux * ogg, int serialno)
|
|||
/* find a chain with a given serial number
|
||||
*/
|
||||
static GstOggChain *
|
||||
gst_ogg_demux_find_chain (GstOggDemux * ogg, int serialno)
|
||||
gst_ogg_demux_find_chain (GstOggDemux * ogg, glong serialno)
|
||||
{
|
||||
GstOggPad *pad;
|
||||
|
||||
|
@ -2750,7 +2750,7 @@ gst_ogg_demux_handle_page (GstOggDemux * ogg, ogg_page * page)
|
|||
{
|
||||
GstOggPad *pad;
|
||||
gint64 granule;
|
||||
guint serialno;
|
||||
glong serialno;
|
||||
GstFlowReturn result = GST_FLOW_OK;
|
||||
|
||||
serialno = ogg_page_serialno (page);
|
||||
|
|
|
@ -34,7 +34,7 @@ struct _GstOggStream
|
|||
{
|
||||
ogg_stream_state stream;
|
||||
|
||||
guint32 serialno;
|
||||
glong serialno;
|
||||
GList *headers;
|
||||
gboolean have_headers;
|
||||
GList *queued;
|
||||
|
|
Loading…
Reference in a new issue