From a5ba4cedf22b59f6a0b9b74256539f614b582e8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Mon, 24 May 2010 20:08:02 +0000 Subject: [PATCH] ffserver: Fix streaming with more than one stream Fix by Howard Chu, hyc at highlandsun dot com Originally committed as revision 23294 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffserver.c b/ffserver.c index f9606470bb..c82c73ae34 100644 --- a/ffserver.c +++ b/ffserver.c @@ -2346,7 +2346,7 @@ static int http_prepare_data(HTTPContext *c) } } for(i=0;istream->nb_streams;i++) { - if (c->feed_streams[i] == pkt.stream_index) { + if (c->stream->feed_streams[i] == pkt.stream_index) { AVStream *st = c->fmt_in->streams[source_index]; pkt.stream_index = i; if (pkt.flags & AV_PKT_FLAG_KEY &&