FFmpeg avformat_open_input with memory located file

Viewed 6432

I want to decode an internet-audiostream, but I don't want to write the data to disk, so the data is located in the memory only.

But when I want to decode data to raw-data, I must initialise the format-context and so I need to use avformat_open_input. But these function needs a detailed location of the file.

Have anyone a solution, how I can get my memory located data into the format-context to decode this data to a raw data?

2 Answers
Related