changeset 2875:acc9a7c3baea libavformat

Document return of read_timestamp.
author michael
date Mon, 31 Dec 2007 16:47:25 +0000
parents 732885f612e9
children 067baa2b8f38
files avformat.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/avformat.h	Mon Dec 31 16:43:35 2007 +0000
+++ b/avformat.h	Mon Dec 31 16:47:25 2007 +0000
@@ -227,6 +227,7 @@
                      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);