mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-09 13:48:55 +00:00
avidemux: Assign variables before printing them
This commit is contained in:
parent
715eb33d24
commit
e49d8a286b
1 changed files with 2 additions and 2 deletions
|
@ -644,9 +644,9 @@ gst_avi_demux_seek_streams (GstAviDemux * avi, guint64 offset, gboolean before)
|
||||||
|
|
||||||
if (before) {
|
if (before) {
|
||||||
if (entry) {
|
if (entry) {
|
||||||
|
gst_index_entry_assoc_map (entry, GST_FORMAT_BYTES, &val);
|
||||||
GST_DEBUG_OBJECT (avi, "stream %d, previous entry at %"
|
GST_DEBUG_OBJECT (avi, "stream %d, previous entry at %"
|
||||||
G_GUINT64_FORMAT, i, val);
|
G_GUINT64_FORMAT, i, val);
|
||||||
gst_index_entry_assoc_map (entry, GST_FORMAT_BYTES, &val);
|
|
||||||
if (val < min)
|
if (val < min)
|
||||||
min = val;
|
min = val;
|
||||||
}
|
}
|
||||||
|
@ -711,9 +711,9 @@ gst_avi_demux_seek_streams_index (GstAviDemux * avi, guint64 offset,
|
||||||
|
|
||||||
if (before) {
|
if (before) {
|
||||||
if (entry) {
|
if (entry) {
|
||||||
|
val = stream->index[index].offset;
|
||||||
GST_DEBUG_OBJECT (avi,
|
GST_DEBUG_OBJECT (avi,
|
||||||
"stream %d, previous entry at %" G_GUINT64_FORMAT, i, val);
|
"stream %d, previous entry at %" G_GUINT64_FORMAT, i, val);
|
||||||
val = stream->index[index].offset;
|
|
||||||
if (val < min)
|
if (val < min)
|
||||||
min = val;
|
min = val;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue