Issue was caused by missing GLOBALHEADER flag set for audio stream. Also made it so frame is getting filled with default, that's what happening in ffmpeg.c.
Issue was caused by missing GLOBALHEADER flag set for audio stream. Also made it so frame is getting filled with default, that's what happening in ffmpeg.c.