From 492cd3a9203779380cea24f23190b92af2b48007 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 9 Dec 2002 12:03:43 +0000 Subject: AVVideoFrame -> AVFrame Originally committed as revision 1327 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffserver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ffserver.c') diff --git a/ffserver.c b/ffserver.c index daa5c9de57..8e66672d23 100644 --- a/ffserver.c +++ b/ffserver.c @@ -1955,7 +1955,7 @@ int av_read_frame(AVFormatContext *s, AVPacket *pkt) /* we use the codec indication because it is more accurate than the demux flags */ pkt->flags = 0; - if (st->codec.coded_picture->key_frame) + if (st->codec.coded_frame->key_frame) pkt->flags |= PKT_FLAG_KEY; return 0; } @@ -2211,7 +2211,7 @@ static int http_prepare_data(HTTPContext *c) codec = &ctx->streams[pkt.stream_index]->codec; } - codec->key_frame = ((pkt.flags & PKT_FLAG_KEY) != 0); + codec->coded_frame->key_frame = ((pkt.flags & PKT_FLAG_KEY) != 0); #ifdef PJSG if (codec->codec_type == CODEC_TYPE_AUDIO) { -- cgit v1.2.3