summaryrefslogtreecommitdiff
path: root/libavformat/seek.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/seek.c')
-rw-r--r--libavformat/seek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/seek.c b/libavformat/seek.c
index a2900b46e0..26b622f035 100644
--- a/libavformat/seek.c
+++ b/libavformat/seek.c
@@ -162,7 +162,7 @@ static void search_hi_lo_keyframes(AVFormatContext *s,
// Evaluate key frames with known TS (or any frames, if AVSEEK_FLAG_ANY set).
if (pts != AV_NOPTS_VALUE &&
- ((flg & PKT_FLAG_KEY) || (flags & AVSEEK_FLAG_ANY))) {
+ ((flg & AV_PKT_FLAG_KEY) || (flags & AVSEEK_FLAG_ANY))) {
if (flags & AVSEEK_FLAG_BYTE) {
// for byte seeking, use position as timestamp
ts = pos;