mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
asfdemux: fix a seek failure due to out-of-range in push mode
A seek in push mode failed for big offsets which are beyond the range of guint32. https://bugzilla.gnome.org/show_bug.cgi?id=748162
This commit is contained in:
parent
27a2691766
commit
92f5f3f8f3
1 changed files with 1 additions and 1 deletions
|
@ -592,7 +592,7 @@ gst_asf_demux_handle_seek_push (GstASFDemux * demux, GstEvent * event)
|
|||
|
||||
GST_DEBUG_OBJECT (demux, "seeking to packet %d", packet);
|
||||
|
||||
cur = demux->data_offset + (packet * demux->packet_size);
|
||||
cur = demux->data_offset + ((guint64) packet * demux->packet_size);
|
||||
|
||||
GST_DEBUG_OBJECT (demux, "Pushing BYTE seek rate %g, "
|
||||
"start %" G_GINT64_FORMAT ", stop %" G_GINT64_FORMAT, rate, cur, stop);
|
||||
|
|
Loading…
Reference in a new issue