Revision 47a1ae1b libavformat/nut.c

View differences:

libavformat/nut.c
40 40
}
41 41

  
42 42
int ff_nut_sp_pos_cmp(syncpoint_t *a, syncpoint_t *b){
43
    return (a->pos - b->pos>>32) - (b->pos - a->pos>>32);
43
    return ((a->pos - b->pos) >> 32) - ((b->pos - a->pos) >> 32);
44 44
}
45 45

  
46 46
int ff_nut_sp_pts_cmp(syncpoint_t *a, syncpoint_t *b){
47
    return (a->ts - b->ts>>32) - (b->ts - a->ts>>32);
47
    return ((a->ts - b->ts) >> 32) - ((b->ts - a->ts) >> 32);
48 48
}
49 49

  
50 50
void ff_nut_add_sp(NUTContext *nut, int64_t pos, int64_t back_ptr, int64_t ts){

Also available in: Unified diff