From cc947f04cc16033d651fda5aab91e4a3c4b6bd4d Mon Sep 17 00:00:00 2001 From: Jean-Daniel Dupas Date: Wed, 31 Mar 2010 12:29:58 +0000 Subject: 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 --- libavformat/oggdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/oggdec.c') diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c index ed90832c14..0dfb3d7321 100644 --- a/libavformat/oggdec.c +++ b/libavformat/oggdec.c @@ -544,7 +544,7 @@ retry: // pflags might not be set until after this pts = ogg_calc_pts(s, idx, &dts); - if (os->keyframe_seek && !(os->pflags & PKT_FLAG_KEY)) + if (os->keyframe_seek && !(os->pflags & AV_PKT_FLAG_KEY)) goto retry; os->keyframe_seek = 0; @@ -594,7 +594,7 @@ ogg_read_timestamp (AVFormatContext * s, int stream_index, int64_t * pos_arg, while (url_ftell(bc) < pos_limit && !ogg_packet(s, &i, NULL, NULL, pos_arg)) { if (i == stream_index) { pts = ogg_calc_pts(s, i, NULL); - if (os->keyframe_seek && !(os->pflags & PKT_FLAG_KEY)) + if (os->keyframe_seek && !(os->pflags & AV_PKT_FLAG_KEY)) pts = AV_NOPTS_VALUE; } if (pts != AV_NOPTS_VALUE) -- cgit v1.2.3