Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
d1845b4c
Commit
d1845b4c
authored
May 24, 2008
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation for buggy icc.
Originally committed as revision 13273 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
f61d45c9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
ffv1.c
libavcodec/ffv1.c
+8
-5
No files found.
libavcodec/ffv1.c
View file @
d1845b4c
...
...
@@ -768,7 +768,9 @@ static inline void decode_line(FFV1Context *s, int w, int_fast16_t *sample[2], i
static
void
decode_plane
(
FFV1Context
*
s
,
uint8_t
*
src
,
int
w
,
int
h
,
int
stride
,
int
plane_index
){
int
x
,
y
;
int_fast16_t
sample_buffer
[
2
][
w
+
6
];
int_fast16_t
*
sample
[
2
]
=
{
sample_buffer
[
0
]
+
3
,
sample_buffer
[
1
]
+
3
};
int_fast16_t
*
sample
[
2
];
sample
[
0
]
=
sample_buffer
[
0
]
+
3
;
sample
[
1
]
=
sample_buffer
[
1
]
+
3
;
s
->
run_index
=
0
;
...
...
@@ -795,10 +797,11 @@ static void decode_plane(FFV1Context *s, uint8_t *src, int w, int h, int stride,
static
void
decode_rgb_frame
(
FFV1Context
*
s
,
uint32_t
*
src
,
int
w
,
int
h
,
int
stride
){
int
x
,
y
,
p
;
int_fast16_t
sample_buffer
[
3
][
2
][
w
+
6
];
int_fast16_t
*
sample
[
3
][
2
]
=
{
{
sample_buffer
[
0
][
0
]
+
3
,
sample_buffer
[
0
][
1
]
+
3
},
{
sample_buffer
[
1
][
0
]
+
3
,
sample_buffer
[
1
][
1
]
+
3
},
{
sample_buffer
[
2
][
0
]
+
3
,
sample_buffer
[
2
][
1
]
+
3
}};
int_fast16_t
*
sample
[
3
][
2
];
for
(
x
=
0
;
x
<
3
;
x
++
){
sample
[
x
][
0
]
=
sample_buffer
[
x
][
0
]
+
3
;
sample
[
x
][
1
]
=
sample_buffer
[
x
][
1
]
+
3
;
}
s
->
run_index
=
0
;
...
...
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