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

Commit 90044a90 authored by Thomas Wendt's avatar Thomas Wendt
Browse files

libstagefright: Re-introduce a QCOM_HARDWARE ifdef after the FFMPEG commit

Fixes a build error on non QCOM hardware.

Change-Id: I4a4268b351d0d8bf748dd03ccea0fbab20ed4314
parent 3113d5d9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -692,11 +692,13 @@ status_t OMXCodec::configureCodec(const sp<MetaData> &meta) {
            }
#endif
            addCodecSpecificData(data, size);
#ifdef QCOM_HARDWARE
        } else {
            ExtendedCodec::getRawCodecSpecificData(meta, data, size);
            if (size) {
                addCodecSpecificData(data, size);
            }
#endif
        }
    }