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
d70231f0
Commit
d70231f0
authored
Aug 10, 2012
by
Boris Maksalov
Committed by
Michael Niedermayer
Aug 12, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix reading past the end of frame buffer.
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
bd922050
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
proresenc_kostya.c
libavcodec/proresenc_kostya.c
+6
-6
No files found.
libavcodec/proresenc_kostya.c
View file @
d70231f0
...
...
@@ -254,24 +254,24 @@ static void get_slice_data(ProresContext *ctx, const uint16_t *src,
ctx
->
dsp
.
fdct
(
esrc
,
elinesize
,
blocks
);
blocks
+=
64
;
if
(
blocks_per_mb
>
2
)
{
ctx
->
dsp
.
fdct
(
src
+
8
,
linesize
,
blocks
);
ctx
->
dsp
.
fdct
(
esrc
+
8
,
e
linesize
,
blocks
);
blocks
+=
64
;
}
ctx
->
dsp
.
fdct
(
src
+
linesize
*
4
,
linesize
,
blocks
);
ctx
->
dsp
.
fdct
(
esrc
+
elinesize
*
4
,
e
linesize
,
blocks
);
blocks
+=
64
;
if
(
blocks_per_mb
>
2
)
{
ctx
->
dsp
.
fdct
(
src
+
linesize
*
4
+
8
,
linesize
,
blocks
);
ctx
->
dsp
.
fdct
(
esrc
+
elinesize
*
4
+
8
,
e
linesize
,
blocks
);
blocks
+=
64
;
}
}
else
{
ctx
->
dsp
.
fdct
(
esrc
,
elinesize
,
blocks
);
blocks
+=
64
;
ctx
->
dsp
.
fdct
(
src
+
linesize
*
4
,
linesize
,
blocks
);
ctx
->
dsp
.
fdct
(
esrc
+
elinesize
*
4
,
e
linesize
,
blocks
);
blocks
+=
64
;
if
(
blocks_per_mb
>
2
)
{
ctx
->
dsp
.
fdct
(
src
+
8
,
linesize
,
blocks
);
ctx
->
dsp
.
fdct
(
esrc
+
8
,
e
linesize
,
blocks
);
blocks
+=
64
;
ctx
->
dsp
.
fdct
(
src
+
linesize
*
4
+
8
,
linesize
,
blocks
);
ctx
->
dsp
.
fdct
(
esrc
+
elinesize
*
4
+
8
,
e
linesize
,
blocks
);
blocks
+=
64
;
}
}
...
...
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