summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/avformat.h1
1 files changed, 1 insertions, 0 deletions
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);