Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
91998e63
Commit
91998e63
authored
Sep 04, 2014
by
Dmitry Kovalev
Browse files
Removing sz member from vpx_codec_priv.
Change-Id: I811526a9ee9f237604f72abe7fc677e39e0f457f
parent
27db51c6
Changes
5
Hide whitespace changes
Inline
Side-by-side
vp8/vp8_cx_iface.c
View file @
91998e63
...
...
@@ -635,7 +635,6 @@ static vpx_codec_err_t vp8e_init(vpx_codec_ctx_t *ctx,
}
ctx
->
priv
=
(
vpx_codec_priv_t
*
)
priv
;
ctx
->
priv
->
sz
=
sizeof
(
*
priv
);
ctx
->
priv
->
init_flags
=
ctx
->
init_flags
;
if
(
ctx
->
config
.
enc
)
...
...
vp8/vp8_dx_iface.c
View file @
91998e63
...
...
@@ -84,7 +84,6 @@ static void vp8_init_ctx(vpx_codec_ctx_t *ctx)
(
vpx_codec_alg_priv_t
*
)
vpx_calloc
(
1
,
sizeof
(
*
priv
));
ctx
->
priv
=
(
vpx_codec_priv_t
*
)
priv
;
ctx
->
priv
->
sz
=
sizeof
(
*
priv
);
ctx
->
priv
->
init_flags
=
ctx
->
init_flags
;
priv
->
si
.
sz
=
sizeof
(
priv
->
si
);
...
...
vp9/vp9_cx_iface.c
View file @
91998e63
...
...
@@ -670,7 +670,6 @@ static vpx_codec_err_t encoder_init(vpx_codec_ctx_t *ctx,
return
VPX_CODEC_MEM_ERROR
;
ctx
->
priv
=
(
vpx_codec_priv_t
*
)
priv
;
ctx
->
priv
->
sz
=
sizeof
(
*
priv
);
ctx
->
priv
->
init_flags
=
ctx
->
init_flags
;
ctx
->
priv
->
enc
.
total_encoders
=
1
;
...
...
vp9/vp9_dx_iface.c
View file @
91998e63
...
...
@@ -63,7 +63,6 @@ static vpx_codec_err_t decoder_init(vpx_codec_ctx_t *ctx,
return
VPX_CODEC_MEM_ERROR
;
ctx
->
priv
=
(
vpx_codec_priv_t
*
)
priv
;
ctx
->
priv
->
sz
=
sizeof
(
*
priv
);
ctx
->
priv
->
init_flags
=
ctx
->
init_flags
;
priv
->
si
.
sz
=
sizeof
(
priv
->
si
);
...
...
vpx/internal/vpx_codec_internal.h
View file @
91998e63
...
...
@@ -335,7 +335,6 @@ typedef struct vpx_codec_priv_cb_pair {
* and the pointer cast to the proper type.
*/
struct
vpx_codec_priv
{
unsigned
int
sz
;
const
char
*
err_detail
;
vpx_codec_flags_t
init_flags
;
struct
{
...
...
Write
Preview
Supports
Markdown
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