Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AVFormatContext *audioAttributes;
- audioAttributes = avformat_alloc_context();
- std::vector<char> inputAudio; // The vector with the audio file loaded in it
- audioAttributes->pb = avio_alloc_context(&inputAudio->front(), inputAudio->size(), 0, NULL, NULL, NULL, NULL);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement