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
a8602dde
Commit
a8602dde
authored
Sep 25, 2015
by
Pedro Arthur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swscale: fix ticket #4877
parent
25df7b1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
11 deletions
+12
-11
swscale.c
libswscale/swscale.c
+12
-11
No files found.
libswscale/swscale.c
View file @
a8602dde
...
...
@@ -480,17 +480,18 @@ static int swscale(SwsContext *c, const uint8_t *src[],
ff_init_slice_from_src
(
vout_slice
,
(
uint8_t
**
)
dst
,
dstStride
,
c
->
dstW
,
dstY
,
dstH
,
dstY
>>
c
->
chrDstVSubSample
,
FF_CEIL_RSHIFT
(
dstH
,
c
->
chrDstVSubSample
));
hout_slice
->
plane
[
0
].
sliceY
=
lastInLumBuf
+
1
;
hout_slice
->
plane
[
1
].
sliceY
=
lastInChrBuf
+
1
;
hout_slice
->
plane
[
2
].
sliceY
=
lastInChrBuf
+
1
;
hout_slice
->
plane
[
3
].
sliceY
=
lastInLumBuf
+
1
;
hout_slice
->
plane
[
0
].
sliceH
=
hout_slice
->
plane
[
1
].
sliceH
=
hout_slice
->
plane
[
2
].
sliceH
=
hout_slice
->
plane
[
3
].
sliceH
=
0
;
hout_slice
->
width
=
dstW
;
if
(
srcSliceY
==
0
)
{
hout_slice
->
plane
[
0
].
sliceY
=
lastInLumBuf
+
1
;
hout_slice
->
plane
[
1
].
sliceY
=
lastInChrBuf
+
1
;
hout_slice
->
plane
[
2
].
sliceY
=
lastInChrBuf
+
1
;
hout_slice
->
plane
[
3
].
sliceY
=
lastInLumBuf
+
1
;
hout_slice
->
plane
[
0
].
sliceH
=
hout_slice
->
plane
[
1
].
sliceH
=
hout_slice
->
plane
[
2
].
sliceH
=
hout_slice
->
plane
[
3
].
sliceH
=
0
;
hout_slice
->
width
=
dstW
;
}
#endif
for
(;
dstY
<
dstH
;
dstY
++
)
{
...
...
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