Revision f8194672 libavformat/avformat.h

View differences:

libavformat/avformat.h
1251 1251
AVProgram *av_new_program(AVFormatContext *s, int id);
1252 1252

  
1253 1253
/**
1254
 * Add a new chapter.
1255
 * This function is NOT part of the public API
1256
 * and should ONLY be used by demuxers.
1257
 *
1258
 * @param s media file handle
1259
 * @param id unique ID for this chapter
1260
 * @param start chapter start time in time_base units
1261
 * @param end chapter end time in time_base units
1262
 * @param title chapter title
1263
 *
1264
 * @return AVChapter or NULL on error
1265
 */
1266
AVChapter *ff_new_chapter(AVFormatContext *s, int id, AVRational time_base,
1267
                          int64_t start, int64_t end, const char *title);
1268

  
1269
/**
1270 1254
 * Set the pts for a given stream. If the new values would be invalid
1271 1255
 * (<= 0), it leaves the AVStream unchanged.
1272 1256
 *
......
1297 1281
int av_index_search_timestamp(AVStream *st, int64_t timestamp, int flags);
1298 1282

  
1299 1283
/**
1300
 * Ensure the index uses less memory than the maximum specified in
1301
 * AVFormatContext.max_index_size by discarding entries if it grows
1302
 * too large.
1303
 * This function is not part of the public API and should only be called
1304
 * by demuxers.
1305
 */
1306
void ff_reduce_index(AVFormatContext *s, int stream_index);
1307

  
1308
/**
1309 1284
 * Add an index entry into a sorted list. Update the entry if the list
1310 1285
 * already contains it.
1311 1286
 *

Also available in: Unified diff