Revision f124b087 libavformat/avformat.h

View differences:

libavformat/avformat.h
1072 1072

  
1073 1073
/**
1074 1074
 * Allocate an AVFormatContext.
1075
 * Can be freed with av_free() but do not forget to free everything you
1076
 * explicitly allocated as well!
1075
 * avformat_free_context() can be used to free the context and everything
1076
 * allocated by the framework within it.
1077 1077
 */
1078 1078
AVFormatContext *avformat_alloc_context(void);
1079 1079

  
......
1230 1230
void av_close_input_file(AVFormatContext *s);
1231 1231

  
1232 1232
/**
1233
 * Free an AVFormatContext and all its streams.
1234
 * @param s context to free
1235
 */
1236
void avformat_free_context(AVFormatContext *s);
1237

  
1238
/**
1233 1239
 * Add a new stream to a media file.
1234 1240
 *
1235 1241
 * Can only be called in the read_header() function. If the flag

Also available in: Unified diff