qtdemux: sound sample description v2 doesn't override samples_per_packet

https://bugzilla.gnome.org/show_bug.cgi?id=663458
This commit is contained in:
Youness Alaoui 2013-01-08 20:14:17 -05:00 committed by Tim-Philipp Müller
parent ee3d9cbd98
commit 92ff8a9b09

View file

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