diff --git a/src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp b/src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp index c507fe10f..cfc22da1d 100644 --- a/src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp +++ b/src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp @@ -80,7 +80,7 @@ public: if (path.empty()) return ReadResult::FILE_NOT_FOUND; - return readImageStream(filename, options); + return readImageStream(path, options); } ReadResult readImageStream(const std::string& filename, const osgDB::ReaderWriter::Options * options) const