Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
x264
Commits
d108f919
Commit
d108f919
authored
Jun 12, 2008
by
Fiona Glaser
Browse files
Fix regression in 64-bit in r882
i_mvc needs to be 64-bit when used with a 64-bit memory pointer
parent
52041128
Changes
2
Hide whitespace changes
Inline
Side-by-side
common/common.h
View file @
d108f919
...
...
@@ -130,7 +130,7 @@ static inline void x264_median_mv( int16_t *dst, int16_t *a, int16_t *b, int16_t
dst
[
1
]
=
x264_median
(
a
[
1
],
b
[
1
],
c
[
1
]
);
}
static
inline
int
x264_predictor_difference
(
int16_t
(
*
mvc
)[
2
],
int
i_mvc
)
static
inline
int
x264_predictor_difference
(
int16_t
(
*
mvc
)[
2
],
int
ptr_t
i_mvc
)
{
int
sum
=
0
,
i
;
for
(
i
=
0
;
i
<
i_mvc
-
1
;
i
++
)
...
...
common/x86/util.h
View file @
d108f919
...
...
@@ -40,7 +40,7 @@ static inline void x264_median_mv_mmxext( int16_t *dst, int16_t *a, int16_t *b,
);
}
#define x264_predictor_difference x264_predictor_difference_mmxext
static
inline
int
x264_predictor_difference_mmxext
(
int16_t
(
*
mvc
)[
2
],
int
i_mvc
)
static
inline
int
x264_predictor_difference_mmxext
(
int16_t
(
*
mvc
)[
2
],
int
ptr_t
i_mvc
)
{
int
sum
=
0
;
uint16_t
output
[
4
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment