| Index: webrtc/modules/rtp_rtcp/test/testFec/test_fec.cc
|
| diff --git a/webrtc/modules/rtp_rtcp/test/testFec/test_fec.cc b/webrtc/modules/rtp_rtcp/test/testFec/test_fec.cc
|
| index a8eafdd27e47d747051ae99243b897f738c59a2f..e84b511b4f93e7f873002b829c99925880fc89f9 100644
|
| --- a/webrtc/modules/rtp_rtcp/test/testFec/test_fec.cc
|
| +++ b/webrtc/modules/rtp_rtcp/test/testFec/test_fec.cc
|
| @@ -22,7 +22,6 @@
|
| #include <list>
|
|
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| -#include "webrtc/modules/rtp_rtcp/source/fec_private_tables_bursty.h"
|
| #include "webrtc/modules/rtp_rtcp/source/forward_error_correction.h"
|
| #include "webrtc/modules/rtp_rtcp/source/forward_error_correction_internal.h"
|
|
|
| @@ -32,7 +31,11 @@
|
| //#define VERBOSE_OUTPUT
|
|
|
| namespace webrtc {
|
| +namespace fec_private_tables {
|
| +extern const uint8_t** kPacketMaskBurstyTbl[12];
|
| +}
|
| namespace test {
|
| +using fec_private_tables::kPacketMaskBurstyTbl;
|
|
|
| void ReceivePackets(
|
| ForwardErrorCorrection::ReceivedPacketList* toDecodeList,
|
| @@ -94,10 +97,6 @@ TEST(FecTest, FecTest) {
|
| const FecMaskType kMaskTypes[] = { kFecMaskRandom, kFecMaskBursty };
|
| const int kNumFecMaskTypes = sizeof(kMaskTypes) / sizeof(*kMaskTypes);
|
|
|
| - // TODO(pbos): Fix this. Hack to prevent a warning
|
| - // ('-Wunneeded-internal-declaration') from clang.
|
| - (void) kPacketMaskBurstyTbl;
|
| -
|
| // Maximum number of media packets allowed for the mask type.
|
| const uint16_t kMaxMediaPackets[] = {kMaxNumberMediaPackets,
|
| sizeof(kPacketMaskBurstyTbl) / sizeof(*kPacketMaskBurstyTbl)};
|
|
|