diff --git a/library/common/src/main/java/com/google/android/exoplayer2/PlaybackException.java b/library/common/src/main/java/com/google/android/exoplayer2/PlaybackException.java index 625191e3eb..10840dec23 100644 --- a/library/common/src/main/java/com/google/android/exoplayer2/PlaybackException.java +++ b/library/common/src/main/java/com/google/android/exoplayer2/PlaybackException.java @@ -53,8 +53,8 @@ public class PlaybackException extends Exception implements Bundleable { ERROR_CODE_IO_DNS_FAILED, ERROR_CODE_IO_FILE_NOT_FOUND, ERROR_CODE_IO_NO_PERMISSION, - ERROR_CODE_PARSING_MANIFEST_MALFORMED, ERROR_CODE_PARSING_CONTAINER_MALFORMED, + ERROR_CODE_PARSING_MANIFEST_MALFORMED, ERROR_CODE_PARSING_CONTAINER_UNSUPPORTED, ERROR_CODE_PARSING_MANIFEST_UNSUPPORTED, ERROR_CODE_DECODER_INIT_FAILED, @@ -111,13 +111,13 @@ public class PlaybackException extends Exception implements Bundleable { // Content parsing errors (3xxx). + /** Caused by a parsing error associated with a media container format bitstream. */ + public static final int ERROR_CODE_PARSING_CONTAINER_MALFORMED = 3001; /** * Caused by a parsing error associated with a media manifest. Examples of a media manifest are a * DASH or a SmoothStreaming manifest, or an HLS playlist. */ - public static final int ERROR_CODE_PARSING_MANIFEST_MALFORMED = 3001; - /** Caused by a parsing error associated with a media container format bitstream. */ - public static final int ERROR_CODE_PARSING_CONTAINER_MALFORMED = 3002; + public static final int ERROR_CODE_PARSING_MANIFEST_MALFORMED = 3002; /** * Caused by attempting to extract a file with an unsupported media container format, or an * unsupported media container feature.