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
a0911b05
Commit
a0911b05
authored
Feb 12, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/mov: fix keyframe flags for sample from chromium Issue 340865
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
058a3d65
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
mov.c
libavformat/mov.c
+5
-0
No files found.
libavformat/mov.c
View file @
a0911b05
...
...
@@ -2162,6 +2162,11 @@ static void mov_build_index(MOVContext *mov, AVStream *st)
rap_group_index
++
;
}
}
if
(
sc
->
keyframe_absent
&&
!
sc
->
stps_count
&&
!
rap_group_present
&&
st
->
codec
->
codec_type
==
AVMEDIA_TYPE_AUDIO
)
keyframe
=
1
;
if
(
keyframe
)
distance
=
0
;
sample_size
=
sc
->
stsz_sample_size
>
0
?
sc
->
stsz_sample_size
:
sc
->
sample_sizes
[
current_sample
];
...
...
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