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
b6c3a027
Commit
b6c3a027
authored
Oct 12, 2018
by
Aman Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/cbs: fix crash in sei_pic_timestamp
Signed-off-by:
Aman Gupta
<
aman@tmm1.net
>
parent
64c50c0e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
cbs_h264_syntax_template.c
libavcodec/cbs_h264_syntax_template.c
+6
-0
No files found.
libavcodec/cbs_h264_syntax_template.c
View file @
b6c3a027
...
...
@@ -584,6 +584,12 @@ static int FUNC(sei_pic_timestamp)(CodedBitstreamContext *ctx, RWContext *rw,
}
sps
=
h264
->
active_sps
;
if
(
!
sps
)
{
av_log
(
ctx
->
log_ctx
,
AV_LOG_ERROR
,
"No active SPS for pic_timestamp.
\n
"
);
return
AVERROR_INVALIDDATA
;
}
if
(
sps
->
vui
.
nal_hrd_parameters_present_flag
)
time_offset_length
=
sps
->
vui
.
nal_hrd_parameters
.
time_offset_length
;
else
if
(
sps
->
vui
.
vcl_hrd_parameters_present_flag
)
...
...
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