AVInputFormat.read_header

Read the format header and initialize the AVFormatContext structure. Return 0 if OK. 'avformat_new_stream' should be called to create new streams.

struct AVInputFormat
int function(AVFormatContext*) read_header;

Meta