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

Commit 36e4e159 authored by Lajos Molnar's avatar Lajos Molnar
Browse files

stagefright: ACodec: query color format support on specific port

This field got uninitialized again due to a wrong merge conflict resolution.

Bug: 27114487
Change-Id: Ie993d3e87e921963e1d76d782b42796069771852
parent 661c5953
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7095,7 +7095,7 @@ status_t ACodec::queryCapabilities(
        // prefix "flexible" standard ones with the flexible equivalent
        OMX_VIDEO_PARAM_PORTFORMATTYPE portFormat;
        InitOMXParams(&portFormat);
        param.nPortIndex = isEncoder ? kPortIndexInput : kPortIndexOutput;
        portFormat.nPortIndex = isEncoder ? kPortIndexInput : kPortIndexOutput;
        Vector<uint32_t> supportedColors; // shadow copy to check for duplicates
        for (OMX_U32 index = 0; index <= kMaxIndicesToCheck; ++index) {
            portFormat.nIndex = index;