From b52b1a3cb0e4628aaf2202191e8513ef9675b1ac Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Wed, 7 Nov 2018 23:33:27 +0100 Subject: [PATCH] Add a missing include guard. --- x264_speed_control.h | 5 +++++ 1 file changed, 5 insertions(+) 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) -- 2.39.2