Mercurial > libavformat.hg
diff oggenc.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 | 536e5527c1e0 |
children | 08cd1179a20d |
line wrap: on
line diff
--- a/oggenc.c Wed Mar 31 10:45:15 2010 +0000 +++ b/oggenc.c Wed Mar 31 12:29:58 2010 +0000 @@ -256,7 +256,7 @@ if (st->codec->codec_id == CODEC_ID_THEORA) { int64_t pts = oggstream->vrev < 1 ? pkt->pts : pkt->pts + pkt->duration; int pframe_count; - if (pkt->flags & PKT_FLAG_KEY) + if (pkt->flags & AV_PKT_FLAG_KEY) oggstream->last_kf_pts = pts; pframe_count = pts - oggstream->last_kf_pts; // prevent frame count from overflow if key frame flag is not set