[vlc-devel] [PATCH] player: add missing parenthesis
Thomas Guillem
thomas at gllm.fr
Wed Oct 9 17:14:47 CEST 2019
---
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;
--
2.20.1
More information about the vlc-devel
mailing list