I am having the same problem @MarkoVitez i did use avcodec_parameters_from_context() but the problem is still there. OP can you explain how can i use your function i have AVPacket how to use this function to add the AAC header to the AVPacket
Reasons:
Blacklisted phrase (0.5): how can i
RegEx Blacklisted phrase (2.5): can you explain how