A fork of the Panda3D repository for developing Astron support.
Go to file
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
direct asynchronous load priorities 2008-12-24 23:45:58 +00:00
dmodels Added radio_button_gui geom 2008-07-31 00:45:07 +00:00
doc python-profiler is no longer a dependency 2008-12-23 08:12:20 +00:00
dtool Add FCollada 2008-12-22 07:24:58 +00:00
models Set some texture modes to clamp 2008-09-03 18:30:33 +00:00
panda i was working on openAL and found one bug which would cause infinite 2008-12-28 06:24:14 +00:00
pandaapp Repaired broken file 2008-08-02 15:46:39 +00:00
pandatool egg-optchar -defpose 2008-12-23 20:41:31 +00:00
ppremake fix license-script truncation 2008-08-19 17:06:21 +00:00