diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-06-23 03:16:24 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-06-23 03:16:24 +0000 |
commit | 250be719e48532bd924636ead5209ffb81ddb880 (patch) | |
tree | d5aeb44adb8cd80d9443ea5ea03ac8cf68fdb2ea /ffserver.c | |
parent | d80904cc87d8d0fce2e86bc48d650c6b47b60356 (diff) | |
download | ffmpeg-250be719e48532bd924636ead5209ffb81ddb880.tar.gz |
fix source stream, source_index is refering to fmt_in, needs testing
Originally committed as revision 13902 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ffserver.c b/ffserver.c index 49abf25606..c89cb52e9d 100644 --- a/ffserver.c +++ b/ffserver.c @@ -2168,7 +2168,7 @@ static int http_prepare_data(HTTPContext *c) if (c->is_packetized) { AVStream *st; /* compute send time and duration */ - st = c->fmt_in->streams[pkt.stream_index]; + st = c->fmt_in->streams[source_index]; c->cur_pts = av_rescale_q(pkt.dts, st->time_base, AV_TIME_BASE_Q); if (st->start_time != AV_NOPTS_VALUE) c->cur_pts -= av_rescale_q(st->start_time, st->time_base, AV_TIME_BASE_Q); |