[FFmpeg-cvslog] r13910 - trunk/ffserver.c
bcoudurier
subversion
Mon Jun 23 19:57:32 CEST 2008
Author: bcoudurier
Date: Mon Jun 23 19:57:31 2008
New Revision: 13910
Log:
fix segv, fmt_ctx is not set for rtsp
Modified:
trunk/ffserver.c
Modified: trunk/ffserver.c
==============================================================================
--- trunk/ffserver.c (original)
+++ trunk/ffserver.c Mon Jun 23 19:57:31 2008
@@ -2206,7 +2206,7 @@ static int http_prepare_data(HTTPContext
}
ost = ctx->streams[pkt.stream_index];
- c->fmt_ctx.pb->is_streamed = 1;
+ ctx->pb->is_streamed = 1;
if (pkt.dts != AV_NOPTS_VALUE)
pkt.dts = av_rescale_q(pkt.dts, ist->time_base, ost->time_base);
if (pkt.pts != AV_NOPTS_VALUE)
More information about the ffmpeg-cvslog
mailing list