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
321cb8b0
Commit
321cb8b0
authored
Dec 14, 2013
by
Gildas Cocherel
Committed by
Anton Khirnov
Dec 20, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hevc: store profile and level in AVCodecContext
Signed-off-by:
Anton Khirnov
<
anton@khirnov.net
>
parent
2a41826b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
hevc.c
libavcodec/hevc.c
+3
-0
No files found.
libavcodec/hevc.c
View file @
321cb8b0
...
@@ -495,6 +495,9 @@ static int hls_slice_header(HEVCContext *s)
...
@@ -495,6 +495,9 @@ static int hls_slice_header(HEVCContext *s)
s
->
max_ra
=
INT_MAX
;
s
->
max_ra
=
INT_MAX
;
}
}
s
->
avctx
->
profile
=
s
->
sps
->
ptl
.
general_ptl
.
profile_idc
;
s
->
avctx
->
level
=
s
->
sps
->
ptl
.
general_ptl
.
level_idc
;
sh
->
dependent_slice_segment_flag
=
0
;
sh
->
dependent_slice_segment_flag
=
0
;
if
(
!
sh
->
first_slice_in_pic_flag
)
{
if
(
!
sh
->
first_slice_in_pic_flag
)
{
int
slice_address_length
;
int
slice_address_length
;
...
...
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