Index: webrtc/call/flexfec_receive_stream_impl.h |
diff --git a/webrtc/call/flexfec_receive_stream_impl.h b/webrtc/call/flexfec_receive_stream_impl.h |
index e4eb68342e13c36df2423023d2e209c1f025d061..90246e328841e30534cb435148e9bda1356e4741 100644 |
--- a/webrtc/call/flexfec_receive_stream_impl.h |
+++ b/webrtc/call/flexfec_receive_stream_impl.h |
@@ -29,8 +29,7 @@ class RtpRtcp; |
class RtpStreamReceiverControllerInterface; |
class RtpStreamReceiverInterface; |
-class FlexfecReceiveStreamImpl : public FlexfecReceiveStream, |
- public RtpPacketSinkInterface { |
+class FlexfecReceiveStreamImpl : public FlexfecReceiveStream { |
public: |
FlexfecReceiveStreamImpl( |
RtpStreamReceiverControllerInterface* receiver_controller, |
@@ -54,6 +53,8 @@ class FlexfecReceiveStreamImpl : public FlexfecReceiveStream, |
// Config. |
const Config config_; |
bool started_ GUARDED_BY(crit_); |
+ // TODO(eladalon): This critical section, which only protects started_, |
+ // is odd. We should probably just use an atomic-bool. |
rtc::CriticalSection crit_; |
// Erasure code interfacing. |