]> git.sesse.net Git - nageru/blobdiff - nageru/x264_encoder.h
Fix compilation with FFmpeg 5.0.
[nageru] / nageru / x264_encoder.h
index 9995c3f370452ba300b97d34e952f5c60f514a51..3aeca64a6ca92a4efb0aed021dea22b5c5847a3f 100644 (file)
@@ -42,7 +42,7 @@ class X264SpeedControl;
 
 class X264Encoder {
 public:
-       X264Encoder(AVOutputFormat *oformat, bool use_separate_disk_params);  // Does not take ownership.
+       X264Encoder(const AVOutputFormat *oformat, bool use_separate_disk_params);  // Does not take ownership.
 
        // Called after the last frame. Will block; once this returns,
        // the last data is flushed.