aboutsummaryrefslogtreecommitdiffstats
path: root/ffserver.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-12-09 12:03:43 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-12-09 12:03:43 +0000
commit492cd3a9203779380cea24f23190b92af2b48007 (patch)
tree4a673a16c3e2c0ac4dc28a10ae2d5f6b6a32fda4 /ffserver.c
parentf694168d524d1c84f5f20f4260fcab1f4d8c11d7 (diff)
downloadffmpeg-492cd3a9203779380cea24f23190b92af2b48007.tar.gz
AVVideoFrame -> AVFrame
Originally committed as revision 1327 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c4
1 files changed, 2 insertions, 2 deletions
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) {