diff --git a/src/video_decompress/libavcodec.c b/src/video_decompress/libavcodec.c index 09da96616..f40cb2631 100644 --- a/src/video_decompress/libavcodec.c +++ b/src/video_decompress/libavcodec.c @@ -554,6 +554,7 @@ static int hwacc_cuda_init(struct AVCodecContext *s, struct hw_accel_state *stat } #endif +#ifdef HWACC_COMMON_IMPL static void check_pixfmt_hw_eligibility(enum AVPixelFormat sw_pix_fmt) { @@ -576,6 +577,7 @@ check_pixfmt_hw_eligibility(enum AVPixelFormat sw_pix_fmt) fmt_name); } } +#endif static enum AVPixelFormat get_format_callback(struct AVCodecContext *s, const enum AVPixelFormat *fmt) { diff --git a/src/video_rxtx/ultragrid_rtp.hpp b/src/video_rxtx/ultragrid_rtp.hpp index 53be20d78..d1e78fa15 100644 --- a/src/video_rxtx/ultragrid_rtp.hpp +++ b/src/video_rxtx/ultragrid_rtp.hpp @@ -53,7 +53,7 @@ class ultragrid_rtp_video_rxtx : public rtp_video_rxtx { public: ultragrid_rtp_video_rxtx(std::map const &); virtual ~ultragrid_rtp_video_rxtx(); - virtual void join(); + void join() override; uint32_t get_ssrc(); // transcoder functions