You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02:00
Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.
Patch by Jean-Daniel Dupas, devlists shadowlab org Originally committed as revision 22744 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
committed by
Carl Eugen Hoyos
parent
46da7fa133
commit
cc947f04cc
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user