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
9112822e
Commit
9112822e
authored
Sep 14, 2016
by
Clément Bœsch
Committed by
Clément Bœsch
Sep 14, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/utils: simplify matching MOV-like formats
parent
ae1dd0c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
utils.c
libavformat/utils.c
+1
-3
No files found.
libavformat/utils.c
View file @
9112822e
...
...
@@ -5318,9 +5318,7 @@ int avformat_transfer_internal_stream_timing_info(const AVOutputFormat *ofmt,
enc_ctx
->
ticks_per_frame
=
2
;
}
}
else
if
(
!
(
ofmt
->
flags
&
AVFMT_VARIABLE_FPS
)
&&
strcmp
(
ofmt
->
name
,
"mov"
)
&&
strcmp
(
ofmt
->
name
,
"mp4"
)
&&
strcmp
(
ofmt
->
name
,
"3gp"
)
&&
strcmp
(
ofmt
->
name
,
"3g2"
)
&&
strcmp
(
ofmt
->
name
,
"psp"
)
&&
strcmp
(
ofmt
->
name
,
"ipod"
)
&&
strcmp
(
ofmt
->
name
,
"f4v"
))
{
&&
!
av_match_name
(
ofmt
->
name
,
"mov,mp4,3gp,3g2,psp,ipod,f4v"
))
{
if
(
copy_tb
==
AVFMT_TBCF_AUTO
&&
dec_ctx
->
time_base
.
den
&&
av_q2d
(
dec_ctx
->
time_base
)
*
dec_ctx
->
ticks_per_frame
>
av_q2d
(
ist
->
time_base
)
&&
av_q2d
(
ist
->
time_base
)
<
1
.
0
/
500
...
...
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