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/output-example.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/output-example.c')
-rw-r--r-- | libavformat/output-example.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/output-example.c b/libavformat/output-example.c index fc070b736c..dd61cfe088 100644 --- a/libavformat/output-example.c +++ b/libavformat/output-example.c @@ -159,7 +159,7 @@ static void write_audio_frame(AVFormatContext *oc, AVStream *st) if (c->coded_frame && c->coded_frame->pts != AV_NOPTS_VALUE) pkt.pts= av_rescale_q(c->coded_frame->pts, c->time_base, st->time_base); - pkt.flags |= PKT_FLAG_KEY; + pkt.flags |= AV_PKT_FLAG_KEY; pkt.stream_index= st->index; pkt.data= audio_outbuf; @@ -368,7 +368,7 @@ static void write_video_frame(AVFormatContext *oc, AVStream *st) AVPacket pkt; av_init_packet(&pkt); - pkt.flags |= PKT_FLAG_KEY; + pkt.flags |= AV_PKT_FLAG_KEY; pkt.stream_index= st->index; pkt.data= (uint8_t *)picture; pkt.size= sizeof(AVPicture); @@ -385,7 +385,7 @@ static void write_video_frame(AVFormatContext *oc, AVStream *st) if (c->coded_frame->pts != AV_NOPTS_VALUE) pkt.pts= av_rescale_q(c->coded_frame->pts, c->time_base, st->time_base); if(c->coded_frame->key_frame) - pkt.flags |= PKT_FLAG_KEY; + pkt.flags |= AV_PKT_FLAG_KEY; pkt.stream_index= st->index; pkt.data= video_outbuf; pkt.size= out_size; |