Skip to content

Commit

Permalink
Rename 'round' variable to avoid name conflict with built-in.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed Dec 20, 2012
1 parent 3194b9f commit 6bfa78b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mythtv/libs/libmythtv/util-opengl.cpp
Expand Up @@ -100,7 +100,7 @@ static inline void mmx_pack_easy(uint8_t *dest, uint8_t *y)
}

static mmx_t mmx_0s = {0x0000000000000000LL};
static mmx_t round = {0x0002000200020002LL};
static mmx_t mmx_round = {0x0002000200020002LL};

static inline void mmx_interp_start(uint8_t *left, uint8_t *right)
{
Expand All @@ -110,7 +110,7 @@ static inline void mmx_interp_start(uint8_t *left, uint8_t *right)
movq_r2r (mm5, mm4);
paddw_r2r (mm4, mm4);
paddw_r2r (mm5, mm4);
paddw_m2r (round, mm4);
paddw_m2r (mmx_round, mm4);

movd_m2r (*right, mm5);
punpcklbw_m2r (mmx_0s, mm5);
Expand Down

0 comments on commit 6bfa78b

Please sign in to comment.