diff --git a/library/core/src/main/java/com/google/android/exoplayer2/text/Cue.java b/library/core/src/main/java/com/google/android/exoplayer2/text/Cue.java index 9aaa127819..3dea9417c5 100644 --- a/library/core/src/main/java/com/google/android/exoplayer2/text/Cue.java +++ b/library/core/src/main/java/com/google/android/exoplayer2/text/Cue.java @@ -33,8 +33,7 @@ public class Cue { public static final Cue EMPTY = new Cue(""); /** An unset position or width. */ - // Note: We deliberately don't use Float.MIN_VALUE because it's positive & very close to zero. - public static final float DIMEN_UNSET = Float.NaN; + public static final float DIMEN_UNSET = Float.MIN_VALUE; /** * The type of anchor, which may be unset. One of {@link #TYPE_UNSET}, {@link #ANCHOR_TYPE_START},