projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d80904c
)
fix source stream, source_index is refering to fmt_in, needs testing
author
Baptiste Coudurier
<baptiste.coudurier@gmail.com>
Mon, 23 Jun 2008 03:16:24 +0000
(
03:16
+0000)
committer
Baptiste Coudurier
<baptiste.coudurier@gmail.com>
Mon, 23 Jun 2008 03:16:24 +0000
(
03:16
+0000)
Originally committed as revision 13902 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffserver.c
patch
|
blob
|
history
diff --git
a/ffserver.c
b/ffserver.c
index 49abf25606ea439045775d1cf93b14124980f99a..c89cb52e9d2771fae2831b649b6112d103e5ccb9 100644
(file)
--- 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);