Explorar el Código

Another deprecated function

rdb hace 13 años
padre
commit
1d21ad016e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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::
 close() {
   if (_format_context != NULL) {
-    av_close_input_file(_format_context);
+    avformat_close_input(&_format_context);
     _format_context = NULL;
   }