diff avformat.h @ 5130:b26fba4bb776 libavformat

actually define AVSEEK_FLAG_FRAME as described in avformat_seek_file() doc
author aurel
date Mon, 10 Aug 2009 20:48:05 +0000
parents cc34279f0fab
children ad4e3a0bd4bd
line wrap: on
line diff
--- 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);