Revert "Add "throws IOException" to MediaCodec constructors (8)"

This reverts commit 35133e2bc5.

Change-Id: Iba6767447262ae092e4d38cccf9a4caf5aa75adb
This commit is contained in:
Andy Hung
2013-11-07 05:05:08 +00:00
parent 35133e2bc5
commit b0c5ecc86d
2 changed files with 19 additions and 31 deletions

View File

@@ -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/");