Signed-off-by: Mike Williams <[email protected]>
---
 ffserver.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/ffserver.c b/ffserver.c
index 8bc810d..0265d60 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -3596,13 +3596,12 @@ static void extract_mpeg4_header(AVFormatContext 
*infile)
 /* compute the needed AVStream for each file */
 static void build_file_streams(void)
 {
-    FFStream *stream, *stream_next;
+    FFStream *stream;
     int i, ret;
 
     /* gather all streams */
-    for(stream = first_stream; stream != NULL; stream = stream_next) {
+    for(stream = first_stream; stream != NULL; stream = stream->next) {
         AVFormatContext *infile = NULL;
-        stream_next = stream->next;
         if (stream->stream_type == STREAM_TYPE_LIVE &&
             !stream->feed) {
             /* the stream comes from a file */
-- 
1.7.3.4

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to