avidemux: Removed unused variable

This commit is contained in:
Edward Hervey 2009-06-25 08:09:57 +02:00
parent 4780d17894
commit ff3730fb7b

View file

@ -1866,7 +1866,6 @@ gst_avi_demux_parse_index (GstAviDemux * avi,
avi_stream_context *stream; avi_stream_context *stream;
guint stream_nr; guint stream_nr;
gst_avi_index_entry *target; gst_avi_index_entry *target;
GstFormat format;
_entry = &((gst_riff_index_entry *) data)[i]; _entry = &((gst_riff_index_entry *) data)[i];
entry.id = GST_READ_UINT32_LE (&_entry->id); entry.id = GST_READ_UINT32_LE (&_entry->id);
@ -1909,7 +1908,6 @@ gst_avi_demux_parse_index (GstAviDemux * avi,
GST_DEBUG ("index_offset = %" G_GUINT64_FORMAT, avi->index_offset); GST_DEBUG ("index_offset = %" G_GUINT64_FORMAT, avi->index_offset);
} }
format = GST_FORMAT_TIME;
if (stream->strh->type == GST_RIFF_FCC_auds) { if (stream->strh->type == GST_RIFF_FCC_auds) {
/* all audio frames are keyframes */ /* all audio frames are keyframes */
target->flags |= GST_AVI_INDEX_ENTRY_FLAG_KEYFRAME; target->flags |= GST_AVI_INDEX_ENTRY_FLAG_KEYFRAME;