# HG changeset patch # User aurel # Date 1249937285 0 # Node ID b26fba4bb776ff7a824d903e611c97be0a42df1a # Parent 87e2b58a305a0b655dabcc4cc64d7b0029e80bb1 actually define AVSEEK_FLAG_FRAME as described in avformat_seek_file() doc diff -r 87e2b58a305a -r b26fba4bb776 avformat.h --- a/avformat.h Mon Aug 10 18:12:02 2009 +0000 +++ b/avformat.h Mon Aug 10 20:48:05 2009 +0000 @@ -968,6 +968,7 @@ #define AVSEEK_FLAG_BACKWARD 1 ///< seek backward #define AVSEEK_FLAG_BYTE 2 ///< seeking based on position in bytes #define AVSEEK_FLAG_ANY 4 ///< seek to any frame, even non-keyframes +#define AVSEEK_FLAG_FRAME 8 ///< seeking based on frame number int av_find_default_stream_index(AVFormatContext *s);