From: Aurelien Jacobs Date: Mon, 10 Aug 2009 20:48:05 +0000 (+0000) Subject: actually define AVSEEK_FLAG_FRAME as described in avformat_seek_file() doc X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=2bf74f4955b704bb1c954c8c51f35734697b45b9;hp=8306be9c3b62acb82b9f47474a7e8ed64134db68;p=ffmpeg actually define AVSEEK_FLAG_FRAME as described in avformat_seek_file() doc Originally committed as revision 19623 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 16170d40a83..ba4dd8b729d 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -968,6 +968,7 @@ void av_set_pts_info(AVStream *s, int pts_wrap_bits, #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);