open_toontown_panda3d/panda
treeform 83803724e6 i was working on openAL and found one bug which would cause infinite
loop when if avcodec_decode_audio (ffmpeg function) returned  0 in the
loop its in and when fixed in the loop above it.
see post  http://panda3d.org/phpbb2/viewtopic.php?p=30331#30331

most changes are to   ffmpegAudioCursor.cxx and movieAudio.h

It basically changes to proper error handling with 0 as DONE

-      if (len < 0) {
+      if (len <= 0) {

and create a give up counter

+  // give up after 100 tries to fetch data
+  int give_up_after = 100;
+
+  while (desired && give_up_after > 0) {
+    give_up_after --;

and some helpful debug messages for the next poor coder to step into this code.
2008-12-28 06:24:14 +00:00
..
metalibs clean up Sources.pp files 2008-11-11 23:31:09 +00:00
src i was working on openAL and found one bug which would cause infinite 2008-12-28 06:24:14 +00:00
.gitignore to new 'built' form 2005-07-29 17:23:33 +00:00
Package.pp make ctattach behavior only when ctprojs defined 2006-03-26 23:12:53 +00:00
Sources.pp