avcodec/rv34: Fix () in GET_PTS_DIFF() macro

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/72/head
Michael Niedermayer 11 years ago
parent a45e6b7bc5
commit 9f50d3b944
  1. 2
      libavcodec/rv34.c

@ -509,7 +509,7 @@ static void rv34_pred_mv(RV34DecContext *r, int block_type, int subblock_no, int
}
}
#define GET_PTS_DIFF(a, b) ((a - b + 8192) & 0x1FFF)
#define GET_PTS_DIFF(a, b) (((a) - (b) + 8192) & 0x1FFF)
/**
* Calculate motion vector component that should be added for direct blocks.

Loading…
Cancel
Save