Revision 91b27e49 ffplay.c

View differences:

ffplay.c
771 771

  
772 772
static inline int compute_mod(int a, int b)
773 773
{
774
    a = a % b;
775
    if (a >= 0)
776
        return a;
777
    else
778
        return a + b;
774
    return a < 0 ? a%b + b : a%b;
779 775
}
780 776

  
781 777
static void video_audio_display(VideoState *s)

Also available in: Unified diff