Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From 43455d929329b81c0df60db8ddadacb3c1954b02 Mon Sep 17 00:00:00 2001
- From: Damian Ziobro <ziobro.damian@gmail.com>
- Date: Thu, 22 May 2014 11:54:40 +0100
- Subject: [PATCH] Repair saving IV key out of file->iv structure while IV is
- being get from media sequence number
- ---
- ext/hls/m3u8.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
- diff --git a/ext/hls/m3u8.c b/ext/hls/m3u8.c
- index 5c7fd17..d129723 100644
- --- a/ext/hls/m3u8.c
- +++ b/ext/hls/m3u8.c
- @@ -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);
- }
- }
- --
- 1.9.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement