hlsdemux: Fix storing of the IV based on the media sequence number

https://bugzilla.gnome.org/show_bug.cgi?id=730574
This commit is contained in:
Damian Ziobro 2014-05-22 11:54:40 +01:00 committed by Sebastian Dröge
parent c1db46ffc6
commit 5b547a553d

View file

@ -350,7 +350,7 @@ gst_m3u8_update (GstM3U8 * self, gchar * data, gboolean * updated)
memcpy (file->iv, iv, sizeof (iv));
} else {
guint8 *iv = file->iv + 12;
GST_WRITE_UINT32_BE (iv + 12, file->sequence);
GST_WRITE_UINT32_BE (iv, file->sequence);
}
}