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
eaff36c9
Commit
eaff36c9
authored
Sep 02, 2015
by
Ronald S. Bultje
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vp9: fix segmentation map retention if segmentation is turned off.
parent
8d25a11d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
vp9.c
libavcodec/vp9.c
+4
-2
No files found.
libavcodec/vp9.c
View file @
eaff36c9
...
...
@@ -3997,8 +3997,9 @@ static int vp9_decode_frame(AVCodecContext *ctx, void *frame,
int
size
=
pkt
->
size
;
VP9Context
*
s
=
ctx
->
priv_data
;
int
res
,
tile_row
,
tile_col
,
i
,
ref
,
row
,
col
;
int
retain_segmap_ref
=
s
->
segmentation
.
enabled
&&
!
s
->
segmentation
.
update_map
&&
s
->
frames
[
REF_FRAME_SEGMAP
].
segmentation_map
;
int
retain_segmap_ref
=
s
->
frames
[
REF_FRAME_SEGMAP
].
segmentation_map
&&
!
(
s
->
segmentation
.
enabled
&&
(
s
->
segmentation
.
update_map
||
s
->
keyframe
||
s
->
intraonly
));
ptrdiff_t
yoff
,
uvoff
,
ls_y
,
ls_uv
;
AVFrame
*
f
;
int
bytesperpixel
;
...
...
@@ -4330,6 +4331,7 @@ static int vp9_decode_update_thread_context(AVCodecContext *dst, const AVCodecCo
s
->
invisible
=
ssrc
->
invisible
;
s
->
keyframe
=
ssrc
->
keyframe
;
s
->
intraonly
=
ssrc
->
intraonly
;
s
->
ss_v
=
ssrc
->
ss_v
;
s
->
ss_h
=
ssrc
->
ss_h
;
s
->
segmentation
.
enabled
=
ssrc
->
segmentation
.
enabled
;
...
...
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