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
4323b09d
Commit
4323b09d
authored
Feb 05, 2007
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indent
Originally committed as revision 7845 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
716ae7ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
avidec.c
libavformat/avidec.c
+8
-8
No files found.
libavformat/avidec.c
View file @
4323b09d
...
...
@@ -626,17 +626,17 @@ resync:
pkt
->
stream_index
=
avi
->
stream_index
;
if
(
st
->
codec
->
codec_type
==
CODEC_TYPE_VIDEO
)
{
AVIndexEntry
*
e
;
int
index
;
AVIndexEntry
*
e
;
int
index
;
assert
(
st
->
index_entries
);
index
=
av_index_search_timestamp
(
st
,
pkt
->
dts
,
0
);
e
=
&
st
->
index_entries
[
index
];
index
=
av_index_search_timestamp
(
st
,
pkt
->
dts
,
0
);
e
=
&
st
->
index_entries
[
index
];
if
(
index
>=
0
&&
e
->
timestamp
==
ast
->
frame_offset
){
if
(
e
->
flags
&
AVINDEX_KEYFRAME
)
pkt
->
flags
|=
PKT_FLAG_KEY
;
}
if
(
index
>=
0
&&
e
->
timestamp
==
ast
->
frame_offset
){
if
(
e
->
flags
&
AVINDEX_KEYFRAME
)
pkt
->
flags
|=
PKT_FLAG_KEY
;
}
}
else
{
pkt
->
flags
|=
PKT_FLAG_KEY
;
}
...
...
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