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

Commit 6225516c authored by Marco Nelissen's avatar Marco Nelissen
Browse files

Don't CHECK for unknown fourcc

Bug: 69924180
Test: manual
Change-Id: I47c8e16dbe3ba5ec9ee44de6901c4916d9e79773
parent 85d2e91d
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -321,8 +321,13 @@ static const char *FourCC2MIME(uint32_t fourcc) {
        case FOURCC('h', 'e', 'v', '1'):
            return MEDIA_MIMETYPE_VIDEO_HEVC;
        default:
            CHECK(!"should not be here.");
            return NULL;
            ALOGW("Unknown fourcc: %c%c%c%c",
                   (fourcc >> 24) & 0xff,
                   (fourcc >> 16) & 0xff,
                   (fourcc >> 8) & 0xff,
                   fourcc & 0xff
                   );
            return "application/octet-stream";
    }
}