> I need some help with decoding AAC stream of audio. I get audio data via > socket. It is neccessary to create AVCodecContext separately, not from > AVFormatContext->streams[...]->codec; You may also want to ask your question to the libav-user mailing list.