From 3714751b95ca1659c1ffbb056aa1f4e3abfc5813 Mon Sep 17 00:00:00 2001 From: hori-ryota Date: Wed, 19 Aug 2015 17:34:28 +0900 Subject: [PATCH] Fixed bug of AES URI Pattern for hls --- .../com/google/android/exoplayer/hls/HlsPlaylistParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/main/java/com/google/android/exoplayer/hls/HlsPlaylistParser.java b/library/src/main/java/com/google/android/exoplayer/hls/HlsPlaylistParser.java index 789217bbcc..8db6eb2484 100644 --- a/library/src/main/java/com/google/android/exoplayer/hls/HlsPlaylistParser.java +++ b/library/src/main/java/com/google/android/exoplayer/hls/HlsPlaylistParser.java @@ -87,7 +87,7 @@ public final class HlsPlaylistParser implements UriLoadable.Parser private static final Pattern METHOD_ATTR_REGEX = Pattern.compile(METHOD_ATTR + "=(" + METHOD_NONE + "|" + METHOD_AES128 + ")"); private static final Pattern URI_ATTR_REGEX = - Pattern.compile(URI_ATTR + "=\"(.+)\""); + Pattern.compile(URI_ATTR + "=\"(.+?)\""); private static final Pattern IV_ATTR_REGEX = Pattern.compile(IV_ATTR + "=([^,.*]+)"); private static final Pattern TYPE_ATTR_REGEX =