fix compilation, this should be better
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Mon, 23 Jun 2008 03:21:40 +0000 (03:21 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Mon, 23 Jun 2008 03:21:40 +0000 (03:21 +0000)
Originally committed as revision 13905 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffserver.c

index ef93e5c..8fcaba9 100644 (file)
@@ -2158,10 +2158,11 @@ static int http_prepare_data(HTTPContext *c)
                         }
                     }
                 } else {
-                send_it:
                     AVCodecContext *codec;
-                    AVStream *ist = c->fmt_in->streams[source_index];
-                    AVStream *ost = ctx->streams[pkt.stream_index];
+                    AVStream *ist, *ost;
+                send_it:
+                    ist = c->fmt_in->streams[source_index];
+                    ost = ctx->streams[pkt.stream_index];
                     /* specific handling for RTP: we use several
                        output stream (one for each RTP
                        connection). XXX: need more abstract handling */