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
cf5c5c8f
Commit
cf5c5c8f
authored
May 13, 2005
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
10l (%f vs. %Ld)
Originally committed as revision 4239 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
ba7ee4a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
h263.c
libavcodec/h263.c
+2
-1
No files found.
libavcodec/h263.c
View file @
cf5c5c8f
...
...
@@ -2425,6 +2425,7 @@ void mpeg4_encode_picture_header(MpegEncContext * s, int picture_number)
put_bits
(
&
s
->
pb
,
16
,
VOP_STARTCODE
);
/* vop header */
put_bits
(
&
s
->
pb
,
2
,
s
->
pict_type
-
1
);
/* pict type: I = 0 , P = 1 */
assert
(
s
->
time
>=
0
);
time_div
=
s
->
time
/
s
->
avctx
->
time_base
.
den
;
time_mod
=
s
->
time
%
s
->
avctx
->
time_base
.
den
;
time_incr
=
time_div
-
s
->
last_time_base
;
...
...
@@ -5856,7 +5857,7 @@ static int decode_vop_header(MpegEncContext *s, GetBitContext *gb){
s
->
current_picture_ptr
->
pts
=
(
s
->
time
+
s
->
avctx
->
time_base
.
num
/
2
)
/
s
->
avctx
->
time_base
.
num
;
if
(
s
->
avctx
->
debug
&
FF_DEBUG_PTS
)
av_log
(
s
->
avctx
,
AV_LOG_DEBUG
,
"MPEG4 PTS: %
f
\n
"
,
s
->
current_picture_ptr
->
pts
);
av_log
(
s
->
avctx
,
AV_LOG_DEBUG
,
"MPEG4 PTS: %
Ld
\n
"
,
s
->
current_picture_ptr
->
pts
);
check_marker
(
gb
,
"before vop_coded"
);
...
...
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