changeset 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 87e2b58a305a
children b67312140db0
files avformat.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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);