aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rmenc.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/rmenc.c
parent46da7fa133bcce2053d04fbb11ecd66b27a0c81e (diff)
downloadffmpeg-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/rmenc.c')
-rw-r--r--libavformat/rmenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rmenc.c b/libavformat/rmenc.c
index 9dbe3d08dc..03db3ce5b8 100644
--- a/libavformat/rmenc.c
+++ b/libavformat/rmenc.c
@@ -346,7 +346,7 @@ static int rm_write_audio(AVFormatContext *s, const uint8_t *buf, int size, int
/* XXX: suppress this malloc */
buf1= (uint8_t*) av_malloc( size * sizeof(uint8_t) );
- write_packet_header(s, stream, size, !!(flags & PKT_FLAG_KEY));
+ write_packet_header(s, stream, size, !!(flags & AV_PKT_FLAG_KEY));
/* for AC-3, the words seem to be reversed */
for(i=0;i<size;i+=2) {
@@ -365,7 +365,7 @@ static int rm_write_video(AVFormatContext *s, const uint8_t *buf, int size, int
RMMuxContext *rm = s->priv_data;
ByteIOContext *pb = s->pb;
StreamInfo *stream = rm->video_stream;
- int key_frame = !!(flags & PKT_FLAG_KEY);
+ int key_frame = !!(flags & AV_PKT_FLAG_KEY);
/* XXX: this is incorrect: should be a parameter */