[FFmpeg-devel] [PATCH 2/2] ffserver: Clear avio context after closing it
Michael Niedermayer
michaelni at gmx.at
Mon Nov 30 22:54:12 CET 2015
On Mon, Nov 30, 2015 at 12:46:25PM -0800, Reynaldo H. Verdejo Pinochet wrote:
>
>
> On 11/01/2015 09:34 AM, Michael Niedermayer wrote:
> > [...]
> > --- a/ffserver.c
> > +++ b/ffserver.c
> > @@ -2366,6 +2366,7 @@ static int http_prepare_data(HTTPContext *c)
> >
> > av_freep(&c->pb_buffer);
> > len = avio_close_dyn_buf(ctx->pb, &c->pb_buffer);
> > + ctx->pb = NULL;
>
> Looks good. I think there's a similar issue at the end
> of rtp_new_av_stream() you might want to handle too but
will clear that too
> please feel free to push as-is.
applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151130/4cbc00a2/attachment.sig>
More information about the ffmpeg-devel
mailing list