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
46888748
Commit
46888748
authored
Nov 06, 2003
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1000l
Originally committed as revision 11407 to
svn://svn.mplayerhq.hu/mplayer/trunk/postproc
parent
598401ce
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
swscale.c
postproc/swscale.c
+4
-1
No files found.
postproc/swscale.c
View file @
46888748
...
...
@@ -2119,7 +2119,10 @@ SwsContext *sws_getContext(int srcW, int srcH, int origSrcFormat, int dstW, int
*/
int
sws_scale_ordered
(
SwsContext
*
c
,
uint8_t
*
src
[],
int
srcStride
[],
int
srcSliceY
,
int
srcSliceH
,
uint8_t
*
dst
[],
int
dstStride
[]){
return
c
->
swScale
(
c
,
src
,
srcStride
,
srcSliceY
,
srcSliceH
,
dst
,
dstStride
);
//copy strides, so they can safely be modified
int
srcStride2
[
3
]
=
{
srcStride
[
0
],
srcStride
[
1
],
srcStride
[
2
]};
int
dstStride2
[
3
]
=
{
dstStride
[
0
],
dstStride
[
1
],
dstStride
[
2
]};
return
c
->
swScale
(
c
,
src
,
srcStride2
,
srcSliceY
,
srcSliceH
,
dst
,
dstStride2
);
}
/**
...
...
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