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

Commit 0f17acfb authored by Michael Bestas's avatar Michael Bestas
Browse files

libstagefright: matroska: Fix ENABLE_AV_ENHANCEMENTS ifdefs

Change-Id: Iaeaa998b6434047260d7c586b188571b63d16090
parent 25dcb655
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -35,7 +35,6 @@

#ifdef ENABLE_AV_ENHANCEMENTS
#include <ExtendedUtils.h>
#ifdef ENABLE_AV_ENHANCEMENTS
#include <QCMediaDefs.h>
#endif

@@ -271,7 +270,6 @@ MatroskaSource::MatroskaSource(
        mType = MP3;
    } else if (!strcasecmp (mime, MEDIA_MIMETYPE_VIDEO_MPEG4)) {
        mType = MPEG4;
#ifdef ENABLE_AV_ENHANCEMENTS
    } else if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_DTS)) {
        mType = DTS;
#endif
@@ -1120,7 +1118,6 @@ void MatroskaExtractor::addTracks() {
                    meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AC3);
                } else if (!strcmp("A_EAC3", codecID)) {
                    meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_EAC3);
#ifdef ENABLE_AV_ENHANCEMENTS
                } else if (!strcmp("A_DTS", codecID)) {
                    meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_DTS);
#endif