소스 검색

removing const to make compatible with newer ffmpeg

Nicolas Winkler 2 년 전
부모
커밋
97cf12bda2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      libalmond/src/VideoStream.cpp

+ 1 - 1
libalmond/src/VideoStream.cpp

@@ -27,7 +27,7 @@ VideoStream::VideoStream(int width, int height, const std::string& filename, int
         throw VideoExportException{ "could not find h264 encoder" };
     }
 
-    const AVOutputFormat* oformat = av_guess_format(nullptr, filename.c_str(), nullptr);
+    AVOutputFormat* oformat = av_guess_format(nullptr, filename.c_str(), nullptr);
     if (!oformat)
         oformat = av_guess_format("mp4", nullptr, nullptr);
     if (oformat == nullptr)