fix compilation, this should be better

Originally committed as revision 13905 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Baptiste Coudurier 17 years ago
parent 4def51fa59
commit dc3a6a368c
  1. 7
      ffserver.c

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

Loading…
Cancel
Save