Mercurial > libavformat.hg
diff seek.c @ 5913:11bb10c37225 libavformat
Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.
Patch by Jean-Daniel Dupas, devlists shadowlab org
author | cehoyos |
---|---|
date | Wed, 31 Mar 2010 12:29:58 +0000 |
parents | cf00e196666a |
children |
line wrap: on
line diff
--- a/seek.c Wed Mar 31 10:45:15 2010 +0000 +++ b/seek.c Wed Mar 31 12:29:58 2010 +0000 @@ -162,7 +162,7 @@ // 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;