[vlc-commits] player: add missing parenthesis

Thomas Guillem git at videolan.org
Thu Oct 10 09:20:49 CEST 2019


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Oct  9 17:05:12 2019 +0200| [ba5a187f8844265cfa0834f41d013eeb62486ef0] | committer: Thomas Guillem

player: add missing parenthesis

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ba5a187f8844265cfa0834f41d013eeb62486ef0
---

 src/player/timer.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/player/timer.c b/src/player/timer.c
index 67a73e9d09..aff3de7e8d 100644
--- a/src/player/timer.c
+++ b/src/player/timer.c
@@ -343,8 +343,8 @@ vlc_player_UpdateTimer(vlc_player_t *player, vlc_es_id_t *es_source,
      * while the clock was paused */
     if (source->es == es_source && source->es)
     {
-        if (frame_rate != 0 && frame_rate != source->smpte.frame_rate
-         || frame_rate_base != source->smpte.frame_rate_base)
+        if (frame_rate != 0 && (frame_rate != source->smpte.frame_rate
+         || frame_rate_base != source->smpte.frame_rate_base))
         {
             assert(frame_rate_base != 0);
             player->timer.last_ts = VLC_TICK_INVALID;



More information about the vlc-commits mailing list