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
ffa0b510
Commit
ffa0b510
authored
Jul 18, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/hevc: fix pict_type
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
d249e682
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
hevc.c
libavcodec/hevc.c
+1
-3
No files found.
libavcodec/hevc.c
View file @
ffa0b510
...
...
@@ -2584,7 +2584,6 @@ static int hevc_frame_start(HEVCContext *s)
int
pic_size_in_ctb
=
((
s
->
sps
->
width
>>
s
->
sps
->
log2_min_cb_size
)
+
1
)
*
((
s
->
sps
->
height
>>
s
->
sps
->
log2_min_cb_size
)
+
1
);
int
ret
;
AVFrame
*
cur_frame
;
memset
(
s
->
horizontal_bs
,
0
,
2
*
s
->
bs_width
*
(
s
->
bs_height
+
1
));
memset
(
s
->
vertical_bs
,
0
,
2
*
s
->
bs_width
*
(
s
->
bs_height
+
1
));
...
...
@@ -2614,8 +2613,7 @@ static int hevc_frame_start(HEVCContext *s)
if
(
ret
<
0
)
goto
fail
;
cur_frame
=
s
->
sps
->
sao_enabled
?
s
->
sao_frame
:
s
->
frame
;
cur_frame
->
pict_type
=
3
-
s
->
sh
.
slice_type
;
s
->
frame
->
pict_type
=
3
-
s
->
sh
.
slice_type
;
av_frame_unref
(
s
->
output_frame
);
ret
=
ff_hevc_output_frame
(
s
,
s
->
output_frame
,
0
);
...
...
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