summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-05-23 13:02:27 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-05-23 13:02:27 +0000
commit7a2a3e8e401d8ac6a8306e67cc164fc70b006155 (patch)
treef86ca77e5cb205b4ba524332cb2d950a78610445 /libavformat/avformat.h
parent8931e7b48a96d8034dd01a5000433735c522d92a (diff)
Add id to AVChapter, untested (where do i find matroska files with chapters?).
Originally committed as revision 13255 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index c7c38454dd..a2e0978e9d 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -760,11 +760,12 @@ AVProgram *av_new_program(AVFormatContext *s, int id);
* and should be ONLY used by demuxers.
*
* @param s media file handle
+ * @param id unique id for this chapter
* @param start chapter start time in AV_TIME_BASE units
* @param end chapter end time in AV_TIME_BASE units
* @param title chapter title
*/
-int ff_new_chapter(AVFormatContext *s, int64_t start, int64_t end, const char *title);
+int ff_new_chapter(AVFormatContext *s, int id, int64_t start, int64_t end, const char *title);
/**
* Set the pts for a given stream.