From 0358223bee918b8821668e40e5dc7e46afc1f6ba Mon Sep 17 00:00:00 2001 From: bcoudurier Date: Mon, 23 Jun 2008 17:57:31 +0000 Subject: [PATCH] fix segv, fmt_ctx is not set for rtsp git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13910 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- ffserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffserver.c b/ffserver.c index ed9bb7fc5..bf2bef6e8 100644 --- a/ffserver.c +++ b/ffserver.c @@ -2206,7 +2206,7 @@ static int http_prepare_data(HTTPContext *c) } 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) -- 2.39.2