Advertisement
Guest User

Stupid Mistake

a guest
Jan 8th, 2013
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. AVFormatContext *audioAttributes;
  2. audioAttributes = avformat_alloc_context();
  3.  
  4. std::vector<char> inputAudio; // The vector with the audio file loaded in it
  5.  
  6. audioAttributes->pb = avio_alloc_context(&inputAudio->front(), inputAudio->size(), 0, NULL, NULL, NULL, NULL);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement