Переглянути джерело

Another deprecated function

rdb 13 роки тому
батько
коміт
1d21ad016e
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      panda/src/movies/ffmpegVirtualFile.cxx

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

@@ -196,7 +196,7 @@ open_subfile(const SubfileInfo &info) {
 void FfmpegVirtualFile::
 void FfmpegVirtualFile::
 close() {
 close() {
   if (_format_context != NULL) {
   if (_format_context != NULL) {
-    av_close_input_file(_format_context);
+    avformat_close_input(&_format_context);
     _format_context = NULL;
     _format_context = NULL;
   }
   }