Mercurial > libavformat.hg
diff rm.c @ 7:47e502ac6349 libavformat
AVVideoFrame -> AVFrame
| author | michaelni |
|---|---|
| date | Mon, 09 Dec 2002 12:03:43 +0000 |
| parents | 39c4c4336486 |
| children | b167760cd0aa |
line wrap: on
line diff
--- a/rm.c Mon Dec 09 02:53:55 2002 +0000 +++ b/rm.c Mon Dec 09 12:03:43 2002 +0000 @@ -333,7 +333,7 @@ /* 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 @@ 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 */
