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
26ba8235
Commit
26ba8235
authored
Aug 03, 2007
by
Alex Beregszaszi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetics: indent correctly
Originally committed as revision 9874 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
1a3f0ca2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
ffplay.c
ffplay.c
+5
-5
No files found.
ffplay.c
View file @
26ba8235
...
...
@@ -1252,14 +1252,14 @@ static int queue_picture(VideoState *is, AVFrame *src_frame, double pts)
pict
.
linesize
[
0
]
=
vp
->
bmp
->
pitches
[
0
];
pict
.
linesize
[
1
]
=
vp
->
bmp
->
pitches
[
2
];
pict
.
linesize
[
2
]
=
vp
->
bmp
->
pitches
[
1
];
img_convert_ctx
=
sws_getCachedContext
(
img_convert_ctx
,
is
->
video_st
->
codec
->
width
,
img_convert_ctx
=
sws_getCachedContext
(
img_convert_ctx
,
is
->
video_st
->
codec
->
width
,
is
->
video_st
->
codec
->
height
,
is
->
video_st
->
codec
->
pix_fmt
,
is
->
video_st
->
codec
->
width
,
is
->
video_st
->
codec
->
height
,
dst_pix_fmt
,
sws_flags
,
NULL
,
NULL
,
NULL
);
if
(
img_convert_ctx
==
NULL
)
{
fprintf
(
stderr
,
"Cannot initialize the conversion context
\n
"
);
exit
(
1
);
}
if
(
img_convert_ctx
==
NULL
)
{
fprintf
(
stderr
,
"Cannot initialize the conversion context
\n
"
);
exit
(
1
);
}
sws_scale
(
img_convert_ctx
,
src_frame
->
data
,
src_frame
->
linesize
,
0
,
is
->
video_st
->
codec
->
height
,
pict
.
data
,
pict
.
linesize
);
/* update the bitmap content */
...
...
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