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

Commit 14ead787 authored by Andy Hung's avatar Andy Hung
Browse files

Fix OGG recognition for 64 bit

Change-Id: I4cef86ca05e06f508929d109a52e375169c33bf9
parent 7c96d53a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -186,7 +186,7 @@ class StagefrightPlayerFactory :
        read(fd, buf, sizeof(buf));
        lseek(fd, offset, SEEK_SET);

        long ident = *((long*)buf);
        uint32_t ident = *((uint32_t*)buf);

        // Ogg vorbis?
        if (ident == 0x5367674f) // 'OggS'