You just need to import the header files (.h) into your implementation files (.m) and continue. As an example:
#import "avformat.h"
int openInputValue = avformat_open_input(&pFormatCtx, utf8FilePath, inputFormat, nil);
NSLog(@"%s - %d # openInputValue = %d", __PRETTY_FUNCTION__, __LINE__, openInputValue);
source
share