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
This commit is contained in:
Jean-Daniel Dupas
2010-03-31 12:29:58 +00:00
committed by Carl Eugen Hoyos
parent 46da7fa133
commit cc947f04cc
52 changed files with 90 additions and 90 deletions

View File

@@ -126,7 +126,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
ret = voc_get_packet(s, pkt, c93->audio, datasize - 26);
if (ret > 0) {
pkt->stream_index = 1;
pkt->flags |= PKT_FLAG_KEY;
pkt->flags |= AV_PKT_FLAG_KEY;
return ret;
}
}
@@ -182,7 +182,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
/* only the first frame is guaranteed to not reference previous frames */
if (c93->current_block == 0 && c93->current_frame == 0) {
pkt->flags |= PKT_FLAG_KEY;
pkt->flags |= AV_PKT_FLAG_KEY;
pkt->data[0] |= C93_FIRST_FRAME;
}
return 0;