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
08e09ed7
Commit
08e09ed7
authored
Jul 17, 2011
by
Mans Rullgard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg: fix some indentation
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
e9f98c90
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
ffmpeg.c
ffmpeg.c
+6
-6
No files found.
ffmpeg.c
View file @
08e09ed7
...
...
@@ -2232,18 +2232,18 @@ static int transcode(AVFormatContext **output_files,
#if !CONFIG_AVFILTER
avcodec_get_frame_defaults
(
&
ost
->
pict_tmp
);
if
(
avpicture_alloc
((
AVPicture
*
)
&
ost
->
pict_tmp
,
codec
->
pix_fmt
,
codec
->
width
,
codec
->
height
))
{
codec
->
width
,
codec
->
height
))
{
fprintf
(
stderr
,
"Cannot allocate temp picture, check pix fmt
\n
"
);
ffmpeg_exit
(
1
);
}
ost
->
img_resample_ctx
=
sws_getContext
(
icodec
->
width
,
icodec
->
height
,
icodec
->
pix_fmt
,
codec
->
width
,
codec
->
height
,
codec
->
pix_fmt
,
ost
->
sws_flags
,
NULL
,
NULL
,
NULL
);
icodec
->
pix_fmt
,
codec
->
width
,
codec
->
height
,
codec
->
pix_fmt
,
ost
->
sws_flags
,
NULL
,
NULL
,
NULL
);
if
(
ost
->
img_resample_ctx
==
NULL
)
{
fprintf
(
stderr
,
"Cannot get resampling context
\n
"
);
ffmpeg_exit
(
1
);
...
...
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