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
44b79c60
Commit
44b79c60
authored
Jun 02, 2008
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indent
Originally committed as revision 13628 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
e4e3230e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
parser.c
libavcodec/parser.c
+6
-6
No files found.
libavcodec/parser.c
View file @
44b79c60
...
...
@@ -135,12 +135,12 @@ int av_parser_parse(AVCodecParserContext *s,
}
else
{
/* add a new packet descriptor */
if
(
pts
!=
AV_NOPTS_VALUE
||
dts
!=
AV_NOPTS_VALUE
){
i
=
(
s
->
cur_frame_start_index
+
1
)
&
(
AV_PARSER_PTS_NB
-
1
);
s
->
cur_frame_start_index
=
i
;
s
->
cur_frame_offset
[
i
]
=
s
->
cur_offset
;
s
->
cur_frame_end
[
i
]
=
s
->
cur_offset
+
buf_size
;
s
->
cur_frame_pts
[
i
]
=
pts
;
s
->
cur_frame_dts
[
i
]
=
dts
;
i
=
(
s
->
cur_frame_start_index
+
1
)
&
(
AV_PARSER_PTS_NB
-
1
);
s
->
cur_frame_start_index
=
i
;
s
->
cur_frame_offset
[
i
]
=
s
->
cur_offset
;
s
->
cur_frame_end
[
i
]
=
s
->
cur_offset
+
buf_size
;
s
->
cur_frame_pts
[
i
]
=
pts
;
s
->
cur_frame_dts
[
i
]
=
dts
;
}
}
...
...
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