aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-12-31 16:47:25 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-12-31 16:47:25 +0000
commitde14759e97ef4df9ea6c2403ec5fc38f06088ca5 (patch)
tree0128c5e65185991ba3eeb2453a07d2e52165c9cf
parent3858a227ce9b334794e6bca65e9018703fd24dda (diff)
downloadffmpeg-de14759e97ef4df9ea6c2403ec5fc38f06088ca5.tar.gz
Document return of read_timestamp.
Originally committed as revision 11363 to svn://svn.ffmpeg.org/ffmpeg/trunk
-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);