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

Commit d5bc37af authored by Lajos Molnar's avatar Lajos Molnar
Browse files

codec2: clarify infoBuffers in C2FrameData

C2InfoBuffers are stack objects as such use them directly instead of
via shared_ptr.

Change-Id: I09b656925afc8c5cbb8c1fb5d36bc2db2bf171e1
parent 5019e354
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -161,7 +161,7 @@ struct C2FrameData {
    //< for initial work item, these may also come from the parser - if provided
    //< for initial work item, these may also come from the parser - if provided
    //< for output buffers, these are the responses to requestedInfos
    //< for output buffers, these are the responses to requestedInfos
    std::vector<std::unique_ptr<C2Param>>      configUpdate;
    std::vector<std::unique_ptr<C2Param>>      configUpdate;
    std::vector<std::shared_ptr<C2InfoBuffer>> infoBuffers;
    std::vector<C2InfoBuffer> infoBuffers;
};
};


struct C2Worklet {
struct C2Worklet {