summaryrefslogtreecommitdiffstats
path: root/libavformat/asfdec.c
diff options
context:
space:
mode:
authorJean-Daniel Dupas <devlists@shadowlab.org>2010-03-31 12:29:58 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2010-03-31 12:29:58 +0000
commitcc947f04cc16033d651fda5aab91e4a3c4b6bd4d (patch)
tree091c6a7609706f5f4ee0408483830a0f6d01f78a /libavformat/asfdec.c
parent46da7fa133bcce2053d04fbb11ecd66b27a0c81e (diff)
downloadffmpeg-streaming-cc947f04cc16033d651fda5aab91e4a3c4b6bd4d.zip
ffmpeg-streaming-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/asfdec.c')
-rw-r--r--libavformat/asfdec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index ab96cc4..c505f92 100644
--- a/libavformat/asfdec.c
+++ b/libavformat/asfdec.c
@@ -888,12 +888,12 @@ static int ff_asf_parse_packet(AVFormatContext *s, ByteIOContext *pb, AVPacket *
asf_st->pkt.pos =
asf_st->packet_pos= asf->packet_pos;
//printf("new packet: stream:%d key:%d packet_key:%d audio:%d size:%d\n",
-//asf->stream_index, asf->packet_key_frame, asf_st->pkt.flags & PKT_FLAG_KEY,
+//asf->stream_index, asf->packet_key_frame, asf_st->pkt.flags & AV_PKT_FLAG_KEY,
//s->streams[asf->stream_index]->codec->codec_type == AVMEDIA_TYPE_AUDIO, asf->packet_obj_size);
if (s->streams[asf->stream_index]->codec->codec_type == AVMEDIA_TYPE_AUDIO)
asf->packet_key_frame = 1;
if (asf->packet_key_frame)
- asf_st->pkt.flags |= PKT_FLAG_KEY;
+ asf_st->pkt.flags |= AV_PKT_FLAG_KEY;
}
/* read data */
@@ -1068,7 +1068,7 @@ static int64_t asf_read_pts(AVFormatContext *s, int stream_index, int64_t *ppos,
pts= pkt->pts;
av_free_packet(pkt);
- if(pkt->flags&PKT_FLAG_KEY){
+ if(pkt->flags&AV_PKT_FLAG_KEY){
i= pkt->stream_index;
asf_st= s->streams[i]->priv_data;
OpenPOWER on IntegriCloud