mxfdemux: remove ignored value

Value stored in ret will be ovewritten in the next iteration of the loop. Which
means it is never used.

Plus a style issue to make gst-indent happy and allow the commit.
This commit is contained in:
Luis de Bethencourt 2015-02-18 18:00:48 +00:00
parent 0a20954769
commit b7e0c7a163

View file

@ -1676,7 +1676,7 @@ gst_mxf_demux_handle_generic_container_essence_element (GstMXFDemux * demux,
if (etrack->offsets && etrack->offsets->len > etrack->position) {
GstMXFDemuxIndex *index =
&g_array_index (etrack->offsets, GstMXFDemuxIndex, etrack->position);
&g_array_index (etrack->offsets, GstMXFDemuxIndex, etrack->position);
if (index->offset != 0)
keyframe = index->keyframe;
}
@ -2355,7 +2355,7 @@ next_try:
goto next_try;
}
} else if (mxf_is_descriptive_metadata (&key)) {
ret = gst_mxf_demux_handle_descriptive_metadata (demux, &key, buffer);
gst_mxf_demux_handle_descriptive_metadata (demux, &key, buffer);
demux->offset += read;
gst_buffer_unref (buffer);
buffer = NULL;