Commit e49d8a28 authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

avidemux: Assign variables before printing them

parent 715eb33d
...@@ -644,9 +644,9 @@ gst_avi_demux_seek_streams (GstAviDemux * avi, guint64 offset, gboolean before) ...@@ -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, ...@@ -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;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment