Adding decoded_fec_rate to NetEQ Network Statistics.

A statistic is introduced to reflect the actual benefits of Opus FEC. It shows what percentage of samples in the rendered audio come from FEC data.

BUG=3867
R=henrik.lundin@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/34969004

Cr-Commit-Position: refs/heads/master@{#8384}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8384 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/modules/audio_coding/neteq/neteq_impl.cc b/webrtc/modules/audio_coding/neteq/neteq_impl.cc
index 7ce4238..bfbf4b3 100644
--- a/webrtc/modules/audio_coding/neteq/neteq_impl.cc
+++ b/webrtc/modules/audio_coding/neteq/neteq_impl.cc
@@ -1799,10 +1799,14 @@
       if (packet->sync_packet) {
         packet_duration = decoder_frame_length_;
       } else {
-        packet_duration = packet->primary ?
-            decoder->PacketDuration(packet->payload, packet->payload_length) :
-            decoder->PacketDurationRedundant(packet->payload,
-                                             packet->payload_length);
+        if (packet->primary) {
+          packet_duration = decoder->PacketDuration(packet->payload,
+                                                    packet->payload_length);
+        } else {
+          packet_duration = decoder->
+              PacketDurationRedundant(packet->payload, packet->payload_length);
+          stats_.SecondaryDecodedSamples(packet_duration);
+        }
       }
     } else {
       LOG_FERR1(LS_WARNING, GetDecoder,