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

Commit 34d632f3 authored by Andy Hung's avatar Andy Hung Committed by Android (Google) Code Review
Browse files

Merge "Fix OGG recognition for 64 bit"

parents 93c6fa75 14ead787
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -186,7 +186,7 @@ class StagefrightPlayerFactory :
        read(fd, buf, sizeof(buf));
        read(fd, buf, sizeof(buf));
        lseek(fd, offset, SEEK_SET);
        lseek(fd, offset, SEEK_SET);


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


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