Remove double declaration of 2 conversion functions.

The declaration in common_types.h is probably a left-over from a
previous cleanup.

Bug: None
Change-Id: I3ee1bad2494ede0022c6aa8fdd106035471d50e2
Reviewed-on: https://webrtc-review.googlesource.com/99220
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24666}
This commit is contained in:
Mirko Bonadei
2018-09-10 16:48:02 +02:00
committed by Commit Bot
parent 49b2c3c4c4
commit 04255172b6
3 changed files with 3 additions and 4 deletions

View File

@ -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); }

View File

@ -10,6 +10,8 @@
#include "media/engine/webrtcvideodecoderfactory.h"
#include "api/video_codecs/video_codec.h"
namespace cricket {
webrtc::VideoDecoder* WebRtcVideoDecoderFactory::CreateVideoDecoderWithParams(

View File

@ -13,6 +13,7 @@
#include <string>
#include <utility>
#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"