Revision 19711af5 libavformat/internal.h

View differences:

libavformat/internal.h
240 240
                       unsigned int *index_entries_allocated_size,
241 241
                       int64_t pos, int64_t timestamp, int size, int distance, int flags);
242 242

  
243
/**
244
 * Add a new chapter.
245
 *
246
 * @param s media file handle
247
 * @param id unique ID for this chapter
248
 * @param start chapter start time in time_base units
249
 * @param end chapter end time in time_base units
250
 * @param title chapter title
251
 *
252
 * @return AVChapter or NULL on error
253
 */
254
AVChapter *ff_new_chapter(AVFormatContext *s, int id, AVRational time_base,
255
                          int64_t start, int64_t end, const char *title);
256

  
257
/**
258
 * Ensure the index uses less memory than the maximum specified in
259
 * AVFormatContext.max_index_size by discarding entries if it grows
260
 * too large.
261
 */
262
void ff_reduce_index(AVFormatContext *s, int stream_index);
263

  
243 264
#endif /* AVFORMAT_INTERNAL_H */

Also available in: Unified diff