mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
qtdemux: Remove variable assignments never read
As detected by clang/scan-build
This commit is contained in:
parent
7828f73516
commit
799609583e
1 changed files with 0 additions and 7 deletions
|
@ -3589,10 +3589,8 @@ gst_qtdemux_activate_segment (GstQTDemux * qtdemux, QtDemuxStream * stream,
|
|||
time = offset;
|
||||
} else {
|
||||
if (segment->media_start >= qtdemux->segment.start) {
|
||||
start = segment->media_start;
|
||||
time = segment->time;
|
||||
} else {
|
||||
start = qtdemux->segment.start;
|
||||
time = segment->time + (qtdemux->segment.start - segment->media_start);
|
||||
}
|
||||
|
||||
|
@ -3639,7 +3637,6 @@ gst_qtdemux_activate_segment (GstQTDemux * qtdemux, QtDemuxStream * stream,
|
|||
* tfra entries tells us which trun/sample the key unit is in, but we don't
|
||||
* make use of this additional information at the moment) */
|
||||
if (qtdemux->fragmented) {
|
||||
index = 0;
|
||||
stream->to_sample = G_MAXUINT32;
|
||||
return TRUE;
|
||||
}
|
||||
|
@ -9007,8 +9004,6 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
|
|||
stream->sampled = TRUE;
|
||||
stream->sparse = TRUE;
|
||||
|
||||
offset = 16;
|
||||
|
||||
stream->caps =
|
||||
qtdemux_sub_caps (qtdemux, stream, fourcc, stsd_data, &codec);
|
||||
if (codec) {
|
||||
|
@ -11624,8 +11619,6 @@ qtdemux_audio_caps (GstQTDemux * qtdemux, QtDemuxStream * stream,
|
|||
"layout", G_TYPE_STRING, (flags & FLAG_IS_NON_INTERLEAVED) ?
|
||||
"non-interleaved" : "interleaved", NULL);
|
||||
} else {
|
||||
if (depth == 0)
|
||||
depth = 32;
|
||||
if (width == 0)
|
||||
width = 32;
|
||||
if (width == 64) {
|
||||
|
|
Loading…
Reference in a new issue