PDA

View Full Version : Freeze bug when using AVIFileRelease


Nic
15th May 2002, 11:07
Hi,

This is a real longshot, but has anyone thats coded with AVIFile API ever come across a bug that freezes the software for quite some time after calling AVIFileRelease(pfile), etc.

Im at a real loss as to what is causing this...Ive still got tests to do (like using the obselete AVIFileClose function).

Anybody got any suggestions or ideas, this really has me stumped.

Thanks for any help...But I won't be surprised if this doesn't get a reply. If I figure it out, ill post it here just in case anyone else ever gets this bug.

Cheers,
-Nic

ps
just noticed that avifileclose is the same as avifilereleae in vfw.h...so thats not the answer

ciler
15th May 2002, 15:28
:(

Same here... That's bad luck we both AVIFile users get stuck on the same point.

Nic
15th May 2002, 15:34
You using AviSynth too (i.e. loading avs files). Hmmmm..Well im glad its not just me. Im going to try & write Avery Lee, see if he isn't too busy to offer a suggestion. If I work anything out, or hear from him ill post it here :)

Good luck Ciler...Keep me posted if you find anything :)

Cheers,
-Nic

ciler
17th May 2002, 17:26
Hello

I managed to get rid of this annoying freezing... But actually, I don't know how. Basically it disappeard after a crash/reboot without me changing anything significant to the code... :o

Maybe you should check if all your streams are correctly released (ie AVIStreamRelease returns 0).

Maybe Avrey Lee will have something more to say about this.