summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2006-02-07 18:31:31 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2006-02-07 18:31:31 +0000
commitb5f16563f7a83d03ec5146306c3301ca7c3c0987 (patch)
tree5e3affb4da245419729bdcaf12f67500a13a0a93 /gst
parent577775354d2b24d2463232cb9c1b2f6b57e864d5 (diff)
downloadgst-plugins-bad-b5f16563f7a83d03ec5146306c3301ca7c3c0987.tar.gz
gst-plugins-bad-b5f16563f7a83d03ec5146306c3301ca7c3c0987.tar.bz2
gst-plugins-bad-b5f16563f7a83d03ec5146306c3301ca7c3c0987.zip
remove unused var
Original commit message from CVS: remove unused var
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;