summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
Diffstat (limited to 'gst')
-rw-r--r--gst/qtdemux/qtdemux.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c
index a0e865ff..b22a103f 100644
--- a/gst/qtdemux/qtdemux.c
+++ b/gst/qtdemux/qtdemux.c
@@ -2328,7 +2328,6 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
}
}
} else {
- int sample_width;
guint64 timestamp = 0;
GST_DEBUG_OBJECT (qtdemux,
@@ -2345,9 +2344,6 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
samples = g_malloc (sizeof (QtDemuxSample) * n_samples);
stream->samples = samples;
- sample_width = QTDEMUX_GUINT16_GET (stsd->data + offset + 10) / 8;
- GST_DEBUG_OBJECT (qtdemux, "sample_width %d", sample_width);
-
n_samples_per_chunk = QTDEMUX_GUINT32_GET (stsc->data + 12);
GST_DEBUG_OBJECT (qtdemux, "n_samples_per_chunk %d", n_samples_per_chunk);
offset = 16;