Fixing NetEq RTP player.

A bug was introduced to NetEq RTP player in a recent CL:
https://webrtc-review.googlesource.com/c/src/+/69806

This is to fix it.

Bug: webrtc:9147
Change-Id: I949fd6b220d7c7f08c6e2940468232d1d955a3dc
Reviewed-on: https://webrtc-review.googlesource.com/75321
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Commit-Queue: Minyue Li <minyue@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23181}
diff --git a/modules/audio_coding/neteq/tools/neteq_rtpplay.cc b/modules/audio_coding/neteq/tools/neteq_rtpplay.cc
index 7428b82..47be82f 100644
--- a/modules/audio_coding/neteq/tools/neteq_rtpplay.cc
+++ b/modules/audio_coding/neteq/tools/neteq_rtpplay.cc
@@ -530,7 +530,8 @@
                  '_');
     std::cout << "Creating Matlab plot script " << matlab_script_name + ".m"
               << std::endl;
-    delay_analyzer->CreateMatlabScript(matlab_script_name + ".m");
+    stats_getter.delay_analyzer()->CreateMatlabScript(matlab_script_name +
+                                                      ".m");
   }
   if (FLAG_pythonplot) {
     auto python_script_name = output_file_name;
@@ -538,7 +539,8 @@
                  '_');
     std::cout << "Creating Python plot script " << python_script_name + ".py"
               << std::endl;
-    delay_analyzer->CreatePythonScript(python_script_name + ".py");
+    stats_getter.delay_analyzer()->CreatePythonScript(python_script_name +
+                                                      ".py");
   }
 
   printf("Simulation statistics:\n");