diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-03-13 00:13:01 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-03-13 00:13:01 +0000 |
commit | 27a5fe5fdf9d017a344e9e0aee143244b4adebb9 (patch) | |
tree | e12e5ef50529aa5bdd2bac2012c6eb0eb266da7b /libavformat/avformat.h | |
parent | fcc872422e0c940dae067d6752fc721f9aeb913e (diff) | |
download | ffmpeg-27a5fe5fdf9d017a344e9e0aee143244b4adebb9.tar.gz |
keyframe & non keyframe index fixes
Originally committed as revision 4034 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index d4daa03c3a..137b8cf108 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -5,7 +5,7 @@ extern "C" { #endif -#define LIBAVFORMAT_BUILD 4621 +#define LIBAVFORMAT_BUILD 4622 #define LIBAVFORMAT_VERSION_INT FFMPEG_VERSION_INT #define LIBAVFORMAT_VERSION FFMPEG_VERSION @@ -584,6 +584,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 int av_find_default_stream_index(AVFormatContext *s); int av_index_search_timestamp(AVStream *st, int64_t timestamp, int flags); |