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/libnut.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/libnut.c')
-rw-r--r-- | libavformat/libnut.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/libnut.c b/libavformat/libnut.c index 365a545234..d1e86d45d0 100644 --- a/libavformat/libnut.c +++ b/libavformat/libnut.c @@ -128,7 +128,7 @@ static int nut_write_packet(AVFormatContext * avf, AVPacket * pkt) { 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 @@ static int nut_read_packet(AVFormatContext * avf, AVPacket * pkt) { 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); |