remove unused var

Original commit message from CVS:
remove unused var
This commit is contained in:
Thomas Vander Stichele 2006-02-07 18:31:31 +00:00
parent 577775354d
commit b5f16563f7

View file

@ -2328,7 +2328,6 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
} }
} }
} else { } else {
int sample_width;
guint64 timestamp = 0; guint64 timestamp = 0;
GST_DEBUG_OBJECT (qtdemux, GST_DEBUG_OBJECT (qtdemux,
@ -2345,9 +2344,6 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
samples = g_malloc (sizeof (QtDemuxSample) * n_samples); samples = g_malloc (sizeof (QtDemuxSample) * n_samples);
stream->samples = 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); n_samples_per_chunk = QTDEMUX_GUINT32_GET (stsc->data + 12);
GST_DEBUG_OBJECT (qtdemux, "n_samples_per_chunk %d", n_samples_per_chunk); GST_DEBUG_OBJECT (qtdemux, "n_samples_per_chunk %d", n_samples_per_chunk);
offset = 16; offset = 16;