mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
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:
parent
0a20954769
commit
b7e0c7a163
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue