Browse Source

no message

Chris Brunner 12 years ago
parent
commit
261a53ba06
1 changed files with 2 additions and 2 deletions
  1. 2 2
      panda/src/movies/ffmpegVirtualFile.cxx

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

@@ -120,7 +120,7 @@ open_vfs(const Filename &filename) {
 
 
   // Now we can open the stream.
   // Now we can open the stream.
   int result =
   int result =
-#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53, 2, 0)
+#if LIBAVFORMAT_VERSION_INT > AV_VERSION_INT(53, 3, 0)
     avformat_open_input(&_format_context, url.c_str(), NULL, NULL);
     avformat_open_input(&_format_context, url.c_str(), NULL, NULL);
 #else
 #else
     av_open_input_file(&_format_context, url.c_str(), NULL, 0, NULL);
     av_open_input_file(&_format_context, url.c_str(), NULL, 0, NULL);
@@ -181,7 +181,7 @@ open_subfile(const SubfileInfo &info) {
 
 
   // Now we can open the stream.
   // Now we can open the stream.
   int result =
   int result =
-#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53, 2, 0)
+#if LIBAVFORMAT_VERSION_INT > AV_VERSION_INT(53, 3, 0)
     avformat_open_input(&_format_context, url.c_str(), NULL, NULL);
     avformat_open_input(&_format_context, url.c_str(), NULL, NULL);
 #else
 #else
     av_open_input_file(&_format_context, url.c_str(), NULL, 0, NULL);
     av_open_input_file(&_format_context, url.c_str(), NULL, 0, NULL);