mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-21 16:37:12 +01:00
Rename Maybe and its members more like std::optional of C++17
This commit is contained in:
@@ -335,7 +335,7 @@ streamContext *import_ffmpeg_read_next_frame(AVFormatContext* formatContext,
|
||||
}
|
||||
|
||||
// Copy the frame to the stream context
|
||||
sc->m_pkt.create(std::move(pkt));
|
||||
sc->m_pkt.emplace(std::move(pkt));
|
||||
|
||||
sc->m_pktDataPtr = sc->m_pkt->data;
|
||||
sc->m_pktRemainingSiz = sc->m_pkt->size;
|
||||
|
||||
Reference in New Issue
Block a user