Bläddra i källkod

Fix for older FFMPEG versions

rdb 17 år sedan
förälder
incheckning
581e928c57
1 ändrade filer med 4 tillägg och 0 borttagningar
  1. 4 0
      panda/src/movies/ffmpegVirtualFile.cxx

+ 4 - 0
panda/src/movies/ffmpegVirtualFile.cxx

@@ -20,6 +20,10 @@
 #include "virtualFileSystem.h"
 #include "avio.h"
 
+#ifndef AVSEEK_SIZE
+  #define AVSEEK_SIZE 0x10000
+#endif
+
 ////////////////////////////////////////////////////////////////////
 // These functions need to use C calling conventions.
 ////////////////////////////////////////////////////////////////////