Hi. Thanks, it seems the source of the leak I had - opened files with av_open_input_file(), but closed them with url_fclose().
By the way, any idea why there is no av_open_output_file(), but rather url_fopen (which closed by url_fclose())? Regards. 2009/1/5 Ronald S. Bultje <[email protected]> > Hi, > > On Mon, Jan 5, 2009 at 6:45 AM, Stas Oskin <[email protected]> wrote: > > Can someone advice, what's better to use, url_fclose() or > > av_close_input_file()? > > They are different. > > url_fclose() closes a ByteIOContext opened by url_fopen(). > av_close_input_file() closes an AVFormatContext opened by > av_open_input_file/stream(). > > Ronald > _______________________________________________ > libav-user mailing list > [email protected] > https://lists.mplayerhq.hu/mailman/listinfo/libav-user > _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
