|
@@ -188,7 +188,7 @@ open_subfile(const SubfileInfo &info) {
|
|
|
void FfmpegVirtualFile::
|
|
void FfmpegVirtualFile::
|
|
|
close() {
|
|
close() {
|
|
|
if (_format_context != NULL) {
|
|
if (_format_context != NULL) {
|
|
|
-#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53, 25, 0)
|
|
|
|
|
|
|
+#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53, 17, 0)
|
|
|
avformat_close_input(&_format_context);
|
|
avformat_close_input(&_format_context);
|
|
|
#else
|
|
#else
|
|
|
av_close_input_file(_format_context);
|
|
av_close_input_file(_format_context);
|