FFMPEG: Explain parameters of any codecs function pointers
问题 I'm going through the article, How to integrate a codec in FFMPEG multimedia framework. According to it, every codec needs to have 3 basic functions to be defined and these functions are assigned to function pointers of the structure AVCodec . The 3 function pointers specified in the above article are: .init -> takes care of allocations and other initializations .close -> freeing the allocated memory and de-initializations .decode -> frame by frame decoding. For the function pointer .decode ,