aboutsummaryrefslogtreecommitdiffstats
path: root/ffserver.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-06-23 03:21:40 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-06-23 03:21:40 +0000
commitdc3a6a368ca4aa5de6a85759a4a4d6b8f105e3b6 (patch)
treebdecca6f13cbd769e6619a6c4ae92b8468defa2d /ffserver.c
parent4def51fa59fbed43a9e31345f5dfdddc8b9ab7d2 (diff)
downloadffmpeg-dc3a6a368ca4aa5de6a85759a4a4d6b8f105e3b6.tar.gz
fix compilation, this should be better
Originally committed as revision 13905 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c7
1 files 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 */