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
13c254a2
Commit
13c254a2
authored
May 20, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg: random cosmectics to reduce diff to qatar
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
9ce3d03f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
ffmpeg.c
ffmpeg.c
+7
-6
No files found.
ffmpeg.c
View file @
13c254a2
...
...
@@ -1914,12 +1914,15 @@ static void do_subtitle_out(AVFormatContext *s,
}
}
static
void
do_video_out
(
AVFormatContext
*
s
,
OutputStream
*
ost
,
AVFrame
*
in_picture
,
float
quality
)
static
void
do_video_out
(
AVFormatContext
*
s
,
OutputStream
*
ost
,
AVFrame
*
in_picture
,
float
quality
)
{
int
nb_frames
,
i
,
ret
,
format_video_sync
;
int
ret
,
format_video_sync
;
AVPacket
pkt
;
AVCodecContext
*
enc
;
AVCodecContext
*
enc
=
ost
->
st
->
codec
;
int
nb_frames
,
i
;
double
sync_ipts
,
delta
;
double
duration
=
0
;
int
frame_size
=
0
;
...
...
@@ -1928,8 +1931,6 @@ static void do_video_out(AVFormatContext *s, OutputStream *ost,
if
(
ost
->
source_index
>=
0
)
ist
=
input_streams
[
ost
->
source_index
];
enc
=
ost
->
st
->
codec
;
if
(
ist
&&
ist
->
st
->
start_time
!=
AV_NOPTS_VALUE
&&
ist
->
st
->
first_dts
!=
AV_NOPTS_VALUE
&&
ost
->
frame_rate
.
num
)
duration
=
1
/
(
av_q2d
(
ost
->
frame_rate
)
*
av_q2d
(
enc
->
time_base
));
...
...
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