Hey,
I've gotten some reports from Mac users of my readanysf~ external for
PureData.
It seems that when the user opens 239 media file with it, everything
works fine.
bgav reports:
[demuxer] Info: Detected Microsoft WAV format
On the 240th open attempt, bgav spits out
[in_file] Error: Cannot open /foo1.wav: Too many open files
---------------------------
I checked in in_file and see that fclose is called in the close_file
handle.
But, where/when is the close_file handle called?
---------------------------
In my code, I call bgav_close(file); if it was previously opened
with file = bgav_create() and then bgav_open(file, filename).
However, if bgav_open fails, I don't call bgav_close(file), but
instead call free(file); file=NULL;
Is that all correct?
-august.
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Gmerlin-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gmerlin-general