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/ffm.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/ffm.c')
-rw-r--r-- | libavformat/ffm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/ffm.c b/libavformat/ffm.c index 2f247e422e..3df2d5e736 100644 --- a/libavformat/ffm.c +++ b/libavformat/ffm.c @@ -232,7 +232,7 @@ static int ffm_write_packet(AVFormatContext *s, int stream_index, /* packet size & key_frame */ header[0] = stream_index; header[1] = 0; - if (st->codec.coded_picture && st->codec.coded_picture->key_frame) + if (st->codec.coded_frame->key_frame) //if st->codec.coded_frame==NULL then there is a bug somewhere else header[1] |= FLAG_KEY_FRAME; header[2] = (size >> 16) & 0xff; header[3] = (size >> 8) & 0xff; |