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
e3fc0e82
Commit
e3fc0e82
authored
Aug 29, 2011
by
Stefano Sabatini
Committed by
Stefano Sabatini
Sep 16, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavdev/lavfi: reindent after the last commit
parent
4893c204
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
lavfi.c
libavdevice/lavfi.c
+7
-7
No files found.
libavdevice/lavfi.c
View file @
e3fc0e82
...
...
@@ -289,15 +289,15 @@ static int lavfi_read_packet(AVFormatContext *avctx, AVPacket *pkt)
stream_idx
=
lavfi
->
sink_stream_map
[
min_pts_sink_idx
];
if
(
ref
->
video
)
{
size
=
avpicture_get_size
(
ref
->
format
,
ref
->
video
->
w
,
ref
->
video
->
h
);
if
((
ret
=
av_new_packet
(
pkt
,
size
))
<
0
)
return
ret
;
size
=
avpicture_get_size
(
ref
->
format
,
ref
->
video
->
w
,
ref
->
video
->
h
);
if
((
ret
=
av_new_packet
(
pkt
,
size
))
<
0
)
return
ret
;
memcpy
(
pict
.
data
,
ref
->
data
,
4
*
sizeof
(
ref
->
data
[
0
]));
memcpy
(
pict
.
linesize
,
ref
->
linesize
,
4
*
sizeof
(
ref
->
linesize
[
0
]));
memcpy
(
pict
.
data
,
ref
->
data
,
4
*
sizeof
(
ref
->
data
[
0
]));
memcpy
(
pict
.
linesize
,
ref
->
linesize
,
4
*
sizeof
(
ref
->
linesize
[
0
]));
avpicture_layout
(
&
pict
,
ref
->
format
,
ref
->
video
->
w
,
ref
->
video
->
h
,
pkt
->
data
,
size
);
avpicture_layout
(
&
pict
,
ref
->
format
,
ref
->
video
->
w
,
ref
->
video
->
h
,
pkt
->
data
,
size
);
}
else
if
(
ref
->
audio
)
{
size
=
ref
->
linesize
[
0
];
if
((
ret
=
av_new_packet
(
pkt
,
size
))
<
0
)
...
...
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