aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2009-08-10 20:48:05 +0000
committerAurelien Jacobs <aurel@gnuage.org>2009-08-10 20:48:05 +0000
commit2bf74f4955b704bb1c954c8c51f35734697b45b9 (patch)
treead2dd46e7f1d9871300acf37a6a891663015799d /libavformat/avformat.h
parent8306be9c3b62acb82b9f47474a7e8ed64134db68 (diff)
downloadffmpeg-2bf74f4955b704bb1c954c8c51f35734697b45b9.tar.gz
actually define AVSEEK_FLAG_FRAME as described in avformat_seek_file() doc
Originally committed as revision 19623 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 16170d40a8..ba4dd8b729 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);