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
49d8a70d
Commit
49d8a70d
authored
Oct 24, 2015
by
Ronald S. Bultje
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vp9: uses ff_set_dimensions (which sets coded_width/height).
Fixes ticket 4935.
parent
52f84d82
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vp9.c
libavcodec/vp9.c
+3
-3
No files found.
libavcodec/vp9.c
View file @
49d8a70d
...
...
@@ -215,15 +215,15 @@ static int update_size(AVCodecContext *ctx, int w, int h, enum AVPixelFormat fmt
{
VP9Context
*
s
=
ctx
->
priv_data
;
uint8_t
*
p
;
int
bytesperpixel
=
s
->
bytesperpixel
;
int
bytesperpixel
=
s
->
bytesperpixel
,
res
;
av_assert0
(
w
>
0
&&
h
>
0
);
if
(
s
->
intra_pred_data
[
0
]
&&
w
==
ctx
->
width
&&
h
==
ctx
->
height
&&
ctx
->
pix_fmt
==
fmt
)
return
0
;
ctx
->
width
=
w
;
ctx
->
height
=
h
;
if
((
res
=
ff_set_dimensions
(
ctx
,
w
,
h
))
<
0
)
return
res
;
ctx
->
pix_fmt
=
fmt
;
s
->
sb_cols
=
(
w
+
63
)
>>
6
;
s
->
sb_rows
=
(
h
+
63
)
>>
6
;
...
...
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