[vlc-devel] [PATCH 09/21] video_output: don't set a value on unused variable

Steve Lhomme robux4 at ycbcr.xyz
Tue Sep 15 14:36:14 CEST 2020


At this stage paused will not be used anymore. No need to set the value.

We keep the comment for the unlikely case where next_system_pts is INT64_MAX.
---
 src/video_output/video_output.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index 6e78e7f71d3..6d5a7e9e669 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -1528,7 +1528,6 @@ static int ThreadDisplayPicture(vout_thread_sys_t *vout, vlc_tick_t *deadline)
         {
             /* The clock was just paused, don't display the next frame (keep
              * the current one). */
-            paused = true;
         }
         else
         {
-- 
2.26.2



More information about the vlc-devel mailing list