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

Commit dbeab40f authored by caoyifeng's avatar caoyifeng Committed by yifeng Cao
Browse files

Correct spelling error.



Change-Id: I5614aa52629f61f6f149af7263792c3a260ba29e
Signed-off-by: default avatarcaoyifeng <caoyifeng@xiaomi.corp-partner.google.com>
parent 5c455623
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -90,13 +90,13 @@ public class MediaCodecSurfaceEncoder {
        }

        String decoderMime = decoderFormat.getString(MediaFormat.KEY_MIME);
        ArrayList<String> listOfDeocders =
        ArrayList<String> decoders =
                MediaCodecBase.selectCodecs(decoderMime, null, null, false, mIsCodecSoftware);
        if (listOfDeocders.isEmpty()) {
        if (decoders.isEmpty()) {
            Log.e(TAG, "No suitable decoder found for mime: " + decoderMime);
            return -1;
        }
        mDecoder = MediaCodec.createByCodecName(listOfDeocders.get(0));
        mDecoder = MediaCodec.createByCodecName(decoders.get(0));

        MediaFormat encoderFormat = setUpEncoderFormat(decoderFormat);
        ArrayList<String> listOfEncoders =