diff --git a/common_types.h b/common_types.h index 60d88b39ce..99c4064a3c 100644 --- a/common_types.h +++ b/common_types.h @@ -342,10 +342,6 @@ enum VideoCodecType { kVideoCodecMultiplex, }; -// Translates from name of codec to codec type and vice versa. -const char* CodecTypeToPayloadString(VideoCodecType type); -VideoCodecType PayloadStringToCodecType(const std::string& name); - struct SpatialLayer { bool operator==(const SpatialLayer& other) const; bool operator!=(const SpatialLayer& other) const { return !(*this == other); } diff --git a/media/engine/webrtcvideodecoderfactory.cc b/media/engine/webrtcvideodecoderfactory.cc index 5eee788d8f..c020b703dd 100644 --- a/media/engine/webrtcvideodecoderfactory.cc +++ b/media/engine/webrtcvideodecoderfactory.cc @@ -10,6 +10,8 @@ #include "media/engine/webrtcvideodecoderfactory.h" +#include "api/video_codecs/video_codec.h" + namespace cricket { webrtc::VideoDecoder* WebRtcVideoDecoderFactory::CreateVideoDecoderWithParams( diff --git a/modules/video_coding/utility/ivf_file_writer.cc b/modules/video_coding/utility/ivf_file_writer.cc index fcf2ddaa0d..d2de6640f8 100644 --- a/modules/video_coding/utility/ivf_file_writer.cc +++ b/modules/video_coding/utility/ivf_file_writer.cc @@ -13,6 +13,7 @@ #include #include +#include "api/video_codecs/video_codec.h" #include "modules/rtp_rtcp/source/byte_io.h" #include "rtc_base/checks.h" #include "rtc_base/logging.h"