diff options
author | Jean-Daniel Dupas <devlists@shadowlab.org> | 2010-03-31 12:29:58 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2010-03-31 12:29:58 +0000 |
commit | cc947f04cc16033d651fda5aab91e4a3c4b6bd4d (patch) | |
tree | 091c6a7609706f5f4ee0408483830a0f6d01f78a /libavformat/oggdec.c | |
parent | 46da7fa133bcce2053d04fbb11ecd66b27a0c81e (diff) | |
download | ffmpeg-cc947f04cc16033d651fda5aab91e4a3c4b6bd4d.tar.gz |
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
Diffstat (limited to 'libavformat/oggdec.c')
-rw-r--r-- | libavformat/oggdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |