From: Steinar H. Gunderson Date: Wed, 7 Nov 2018 22:33:27 +0000 (+0100) Subject: Add a missing include guard. X-Git-Tag: 1.7.5~4 X-Git-Url: https://git.sesse.net/?p=nageru;a=commitdiff_plain;h=b52b1a3cb0e4628aaf2202191e8513ef9675b1ac Add a missing include guard. --- diff --git a/x264_speed_control.h b/x264_speed_control.h index bd58dcb..b0a1739 100644 --- a/x264_speed_control.h +++ b/x264_speed_control.h @@ -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 metric_x264_speedcontrol_idle_frames{0}; std::atomic metric_x264_speedcontrol_late_frames{0}; }; + +#endif // !defined(_X264_SPEED_CONTROL_H)