Browse Source

needs more cow bell

nah, I actually fixed the ffmpeg compile bug
rdb 15 years ago
parent
commit
382bd8296b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      panda/src/movies/ffmpegVirtualFile.cxx

+ 2 - 2
panda/src/movies/ffmpegVirtualFile.cxx

@@ -34,9 +34,9 @@ extern "C" {
   static int       pandavfs_read(URLContext *h, unsigned char *buf, int size);
   static int       pandavfs_read(URLContext *h, unsigned char *buf, int size);
 // This change happened a few days before 52.68.0
 // This change happened a few days before 52.68.0
 #if LIBAVFORMAT_VERSION_INT < 3425280
 #if LIBAVFORMAT_VERSION_INT < 3425280
-  static int       pandavfs_write(URLContext *h, const unsigned char *buf, int size);
-#else
   static int       pandavfs_write(URLContext *h, unsigned char *buf, int size);
   static int       pandavfs_write(URLContext *h, unsigned char *buf, int size);
+#else
+  static int       pandavfs_write(URLContext *h, const unsigned char *buf, int size);
 #endif
 #endif
   static PN_int64  pandavfs_seek(URLContext *h, PN_int64 pos, int whence);
   static PN_int64  pandavfs_seek(URLContext *h, PN_int64 pos, int whence);
   static int       pandavfs_close(URLContext *h);
   static int       pandavfs_close(URLContext *h);