Re: [FFmpeg-devel] RTMP Play file descriptor leak

2014-09-30 Thread Michael Niedermayer
On Tue, Sep 30, 2014 at 08:46:54PM +1100, Alexander Drozdov wrote: > 2014-09-30 20:25 GMT+11:00 Michael Niedermayer : > > > > > applied > > > > thanks > > > You are welcome! > > > > > > PS: i think theres another case in there that needs a similar change > > > > Does you regard return at the top

Re: [FFmpeg-devel] RTMP Play file descriptor leak

2014-09-30 Thread Alexander Drozdov
2014-09-30 20:25 GMT+11:00 Michael Niedermayer : > > applied > > thanks > You are welcome! > > PS: i think theres another case in there that needs a similar change > > Does you regard return at the top of this function? It seems that there is no resource allocation before so it is safe to do ret

Re: [FFmpeg-devel] RTMP Play file descriptor leak

2014-09-30 Thread Michael Niedermayer
On Tue, Sep 30, 2014 at 08:01:23PM +1100, Alexander Drozdov wrote: > Hi! > > In our project we uses FFmpeg to demux RTMP streams. Input stream takes > from Wowza/nginx-rtmp. Our application is a daemon that try to connect to > source periodicaly if it does not present (does not published to Wowza,

[FFmpeg-devel] RTMP Play file descriptor leak

2014-09-30 Thread Alexander Drozdov
Hi! In our project we uses FFmpeg to demux RTMP streams. Input stream takes from Wowza/nginx-rtmp. Our application is a daemon that try to connect to source periodicaly if it does not present (does not published to Wowza, for example). We also use interrupt callback to break connection if timeout