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
dafc3856
Commit
dafc3856
authored
Sep 03, 2003
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
10l
Originally committed as revision 2202 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
bee0d9e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
ffmpeg.c
ffmpeg.c
+9
-8
No files found.
ffmpeg.c
View file @
dafc3856
...
...
@@ -428,14 +428,15 @@ static void pre_process_video_frame(AVInputStream *ist, AVPicture *picture, void
picture2
=
&
picture_tmp
;
avpicture_fill
(
picture2
,
buf
,
dec
->
pix_fmt
,
dec
->
width
,
dec
->
height
);
if
(
do_deinterlace
&&
avpicture_deinterlace
(
picture2
,
picture
,
dec
->
pix_fmt
,
dec
->
width
,
dec
->
height
)
<
0
)
{
/* if error, do not deinterlace */
av_free
(
buf
);
buf
=
NULL
;
picture2
=
picture
;
}
else
{
if
(
do_deinterlace
){
if
(
avpicture_deinterlace
(
picture2
,
picture
,
dec
->
pix_fmt
,
dec
->
width
,
dec
->
height
)
<
0
)
{
/* if error, do not deinterlace */
av_free
(
buf
);
buf
=
NULL
;
picture2
=
picture
;
}
}
else
{
if
(
img_convert
(
picture2
,
dec
->
pix_fmt
,
picture
,
dec
->
pix_fmt
,
dec
->
width
,
dec
->
height
)
<
0
)
{
/* if error, do not copy */
...
...
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