From 6c06b4efd16c6f84d35ad9bca05b52b8c797ac45 Mon Sep 17 00:00:00 2001 From: aquilescanta Date: Tue, 18 May 2021 15:48:29 +0100 Subject: [PATCH] Re-order error codes for symmetry PiperOrigin-RevId: 374416794 --- .../com/google/android/exoplayer2/PlaybackException.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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.