Revert "Add "throws IOException" to MediaCodec constructors (8)"
This reverts commit 35133e2bc5.
Change-Id: Iba6767447262ae092e4d38cccf9a4caf5aa75adb
This commit is contained in:
@@ -499,8 +499,7 @@ class MediaCodecView extends SurfaceView
|
||||
}
|
||||
|
||||
private void addTrack(
|
||||
int trackIndex, MediaFormat format, boolean encrypted)
|
||||
throws IOException {
|
||||
int trackIndex, MediaFormat format, boolean encrypted) {
|
||||
String mime = format.getString(MediaFormat.KEY_MIME);
|
||||
|
||||
boolean isVideo = mime.startsWith("video/");
|
||||
|
||||
Reference in New Issue
Block a user