]> git.sesse.net Git - nageru/commitdiff
Add a missing include guard.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 7 Nov 2018 22:33:27 +0000 (23:33 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 7 Nov 2018 23:16:01 +0000 (00:16 +0100)
x264_speed_control.h

index bd58dcbf8773c6624706f23e6775ce2bc758bf0a..b0a1739d022e462c48c7e80e7b73b905fcdb6411 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef _X264_SPEED_CONTROL_H
+#define _X264_SPEED_CONTROL_H 1
+
 // The x264 speed control tries to encode video at maximum possible quality
 // without skipping frames (at the expense of higher encoding latency and
 // less even output rates, although VBV is still respected). It does this
@@ -137,3 +140,5 @@ private:
        std::atomic<int64_t> metric_x264_speedcontrol_idle_frames{0};
        std::atomic<int64_t> metric_x264_speedcontrol_late_frames{0};
 };
+
+#endif  // !defined(_X264_SPEED_CONTROL_H)