[vlc-devel] [PATCH] player: add missing parenthesis

Alexandre Janniaux ajanni at videolabs.io
Wed Oct 9 17:35:18 CEST 2019


Hi,

LGTM, good catch.

Regards,
--
Alexandre Janniaux
Videolabs

On Wed, Oct 09, 2019 at 05:14:47PM +0200, Thomas Guillem wrote:
> ---
>  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
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list