diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-12-09 12:03:43 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-12-09 12:03:43 +0000 |
commit | 492cd3a9203779380cea24f23190b92af2b48007 (patch) | |
tree | 4a673a16c3e2c0ac4dc28a10ae2d5f6b6a32fda4 /libavformat/rm.c | |
parent | f694168d524d1c84f5f20f4260fcab1f4d8c11d7 (diff) | |
download | ffmpeg-492cd3a9203779380cea24f23190b92af2b48007.tar.gz |
AVVideoFrame -> AVFrame
Originally committed as revision 1327 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rm.c')
-rw-r--r-- | libavformat/rm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rm.c b/libavformat/rm.c index 44e384559d..72bd6978c1 100644 --- a/libavformat/rm.c +++ b/libavformat/rm.c @@ -333,7 +333,7 @@ static int rm_write_audio(AVFormatContext *s, UINT8 *buf, int size) /* XXX: suppress this malloc */ buf1= (UINT8*) av_malloc( size * sizeof(UINT8) ); - write_packet_header(s, stream, size, stream->enc->key_frame); + write_packet_header(s, stream, size, stream->enc->coded_frame->key_frame); /* for AC3, the words seems to be reversed */ for(i=0;i<size;i+=2) { @@ -352,7 +352,7 @@ static int rm_write_video(AVFormatContext *s, UINT8 *buf, int size) RMContext *rm = s->priv_data; ByteIOContext *pb = &s->pb; StreamInfo *stream = rm->video_stream; - int key_frame = stream->enc->coded_picture->key_frame; + int key_frame = stream->enc->coded_frame->key_frame; /* XXX: this is incorrect: should be a parameter */ |