AVInputFormat.read_header

Read the format header and initialize the AVFormatContext structure. Return 0 if OK. Only used in raw format right now. 'avformat_new_stream' should be called to create new streams.

struct AVInputFormat
int function(AVFormatContext*) read_header;

Meta