Mercurial > libavformat.hg
diff libnut.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 | 178de7695c6c |
line wrap: on
line diff
--- a/libnut.c Wed Mar 31 10:45:15 2010 +0000 +++ b/libnut.c Wed Mar 31 12:29:58 2010 +0000 @@ -128,7 +128,7 @@ p.len = pkt->size; p.stream = pkt->stream_index; p.pts = pkt->pts; - p.flags = pkt->flags & PKT_FLAG_KEY ? NUT_FLAG_KEY : 0; + p.flags = pkt->flags & AV_PKT_FLAG_KEY ? NUT_FLAG_KEY : 0; p.next_pts = 0; nut_write_frame_reorder(priv->nut, &p, pkt->data); @@ -269,7 +269,7 @@ return -1; } - if (pd.flags & NUT_FLAG_KEY) pkt->flags |= PKT_FLAG_KEY; + if (pd.flags & NUT_FLAG_KEY) pkt->flags |= AV_PKT_FLAG_KEY; pkt->pts = pd.pts; pkt->stream_index = pd.stream; pkt->pos = url_ftell(avf->pb);