aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2016-01-14 18:28:21 -0800
committerScott Jackson <daneren2005@gmail.com>2016-01-14 18:28:21 -0800
commit28092dcca0e778c3c598b2f257c68084daf76f24 (patch)
tree7bf12cd6fb8a4220213af40d27dc2bd2756940e1 /app
parent00d91d4caa811eb33eaf543813c893021955d355 (diff)
downloaddsub-28092dcca0e778c3c598b2f257c68084daf76f24.tar.gz
dsub-28092dcca0e778c3c598b2f257c68084daf76f24.tar.bz2
dsub-28092dcca0e778c3c598b2f257c68084daf76f24.zip
Fix infinite recursion in applyReplayGain
Diffstat (limited to 'app')
-rw-r--r--app/src/main/AndroidManifest.xml2
-rw-r--r--app/src/main/java/github/daneren2005/dsub/util/tags/ID3v2File.java4
2 files changed, 5 insertions, 1 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index f03e4ea4..6dbd7973 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -2,7 +2,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="github.daneren2005.dsub"
android:installLocation="internalOnly"
- android:versionCode="170"
+ android:versionCode="171"
android:versionName="5.1.3">
<instrumentation android:name="android.test.InstrumentationTestRunner"
diff --git a/app/src/main/java/github/daneren2005/dsub/util/tags/ID3v2File.java b/app/src/main/java/github/daneren2005/dsub/util/tags/ID3v2File.java
index ea61f36c..69668475 100644
--- a/app/src/main/java/github/daneren2005/dsub/util/tags/ID3v2File.java
+++ b/app/src/main/java/github/daneren2005/dsub/util/tags/ID3v2File.java
@@ -134,7 +134,11 @@ public class ID3v2File extends Common {
if(endValue != -1) {
parts.add(txData[1].substring(endName + 1, endValue));
nextStartIndex = endValue + 1;
+ } else {
+ break;
}
+ } else {
+ break;
}
startName = txData[1].toLowerCase(Locale.US).indexOf("replaygain_", nextStartIndex);