Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 669f5f6b authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Revert "MediaMuxer: handle expection for add track""

parents 5583d332 0b5d89dd
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -276,11 +276,7 @@ final public class MediaMuxer {
                values[i] = entry.getValue();
                ++i;
            }
            try {
            trackIndex = nativeAddTrack(mNativeObject, keys, values);
            } catch (IllegalStateException ex) {
                throw new IllegalArgumentException("format not supported");
            }
        } else {
            throw new IllegalArgumentException("format must not be empty.");
        }