# HG changeset patch # User michael # Date 1199119645 0 # Node ID acc9a7c3baea428aa3522a7a5d23ba7a5534defc # Parent 732885f612e98d899689007a4646d50eedd2b1d7 Document return of read_timestamp. diff -r 732885f612e9 -r acc9a7c3baea avformat.h --- 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);