Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
c7b925c3
Commit
c7b925c3
authored
Sep 04, 2014
by
Dmitry Kovalev
Committed by
Gerrit Code Review
Sep 04, 2014
Browse files
Merge "Removing sz member from vpx_codec_priv. "
parents
ce1c9228
91998e63
Changes
5
Hide whitespace changes
Inline
Side-by-side
vp8/vp8_cx_iface.c
View file @
c7b925c3
...
...
@@ -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 @
c7b925c3
...
...
@@ -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 @
c7b925c3
...
...
@@ -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 @
c7b925c3
...
...
@@ -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 @
c7b925c3
...
...
@@ -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
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