Revision 19711af5

View differences:

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

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

  
1267
/**
1268 1252
 * Set the pts for a given stream. If the new values would be invalid
1269 1253
 * (<= 0), it leaves the AVStream unchanged.
1270 1254
 *
......
1295 1279
int av_index_search_timestamp(AVStream *st, int64_t timestamp, int flags);
1296 1280

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

  
1306
/**
1307 1282
 * Add an index entry into a sorted list. Update the entry if the list
1308 1283
 * already contains it.
1309 1284
 *
libavformat/ffmetadec.c
21 21

  
22 22
#include "avformat.h"
23 23
#include "ffmeta.h"
24
#include "internal.h"
24 25

  
25 26
static int probe(AVProbeData *p)
26 27
{
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 */
libavformat/mpeg.c
20 20
 */
21 21

  
22 22
#include "avformat.h"
23
#include "internal.h"
23 24
#include "mpeg.h"
24 25

  
25 26
//#define DEBUG_SEEK
libavformat/oggparsevorbis.c
28 28
#include "libavcodec/get_bits.h"
29 29
#include "libavcodec/bytestream.h"
30 30
#include "avformat.h"
31
#include "internal.h"
31 32
#include "oggdec.h"
32 33
#include "vorbiscomment.h"
33 34

  

Also available in: Unified diff