qtdemux: sound sample description v2 doesn't override samples_per_packet
authorYouness Alaoui <youness.alaoui@collabora.co.uk>
Wed, 9 Jan 2013 01:14:17 +0000 (20:14 -0500)
committerTim-Philipp Müller <tim@centricular.net>
Mon, 28 Jan 2013 23:43:42 +0000 (23:43 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=663458

gst/isomp4/qtdemux.c

index 7943128a16a8fb930b9c5ed9d9dc959b85a449c2..489dd58b249684d103e0e9053775424ada5ac7fc 100644 (file)
@@ -7178,7 +7178,6 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
       if (len < 72)
         goto corrupt_file;
 
-      stream->samples_per_packet = QT_UINT32 (stsd_data + offset);
       qtfp.val = QT_UINT64 (stsd_data + offset + 4);
       stream->rate = qtfp.fp;
       stream->n_channels = QT_UINT32 (stsd_data + offset + 12);