Document return of read_timestamp.
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 31 Dec 2007 16:47:25 +0000 (16:47 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 31 Dec 2007 16:47:25 +0000 (16:47 +0000)
Originally committed as revision 11363 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/avformat.h

index 9bf676a2d9d3f282973824ca015ae596f11ba374..9c6f04e8d68b0037f71eb347a87f8e3765fb9c63 100644 (file)
@@ -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);