diff --git a/ffserver.c b/ffserver.c index 9472c41aab..93e546751c 100644 --- a/ffserver.c +++ b/ffserver.c @@ -1770,7 +1770,10 @@ static void compute_status(HTTPContext *c) char sfilename[1024]; char *eosf; - if (stream->feed != stream) { + if (stream->feed == stream) { + stream = stream->next; + continue; + } av_strlcpy(sfilename, stream->filename, sizeof(sfilename) - 10); eosf = sfilename + strlen(sfilename); if (eosf - sfilename >= 4) { @@ -1849,14 +1852,16 @@ static void compute_status(HTTPContext *c) avio_printf(pb, "