From dc3a6a368ca4aa5de6a85759a4a4d6b8f105e3b6 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Mon, 23 Jun 2008 03:21:40 +0000 Subject: [PATCH] fix compilation, this should be better Originally committed as revision 13905 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffserver.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ffserver.c b/ffserver.c index ef93e5ce01..8fcaba9968 100644 --- a/ffserver.c +++ b/ffserver.c @@ -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 */