diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-06-23 17:57:31 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-06-23 17:57:31 +0000 |
commit | b06759549fc3230f64c7e9fce614bbaabf52e92a (patch) | |
tree | 6fb95386d28b158a13eb6ea60ceb421dcd4636df /ffserver.c | |
parent | 07cb073bf9116fc71a28597afebbe4e0bbb48883 (diff) | |
download | ffmpeg-b06759549fc3230f64c7e9fce614bbaabf52e92a.tar.gz |
fix segv, fmt_ctx is not set for rtsp
Originally committed as revision 13910 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 ed9bb7fc5a..bf2bef6e8e 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) |