From 2bf74f4955b704bb1c954c8c51f35734697b45b9 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Mon, 10 Aug 2009 20:48:05 +0000 Subject: [PATCH] actually define AVSEEK_FLAG_FRAME as described in avformat_seek_file() doc Originally committed as revision 19623 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avformat.h | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.2