From de14759e97ef4df9ea6c2403ec5fc38f06088ca5 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 31 Dec 2007 16:47:25 +0000 Subject: [PATCH] Document return of read_timestamp. Originally committed as revision 11363 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avformat.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 9bf676a2d9..9c6f04e8d6 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -227,6 +227,7 @@ typedef struct AVInputFormat { int stream_index, int64_t timestamp, int flags); /** * gets the next timestamp in AV_TIME_BASE units. + * @return the timestamp or AV_NOPTS_VALUE if an error occured */ int64_t (*read_timestamp)(struct AVFormatContext *s, int stream_index, int64_t *pos, int64_t pos_limit);