Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
72ebafff
Commit
72ebafff
authored
Feb 02, 2011
by
Gaute Strokkenes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid using an anonymous union.
Change-Id: I5744269a35e2d696ecf40c1665efd572bfc9b6cb
parent
a5ecaca6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
vpx/internal/vpx_codec_internal.h
vpx/internal/vpx_codec_internal.h
+1
-1
vpx/src/vpx_decoder.c
vpx/src/vpx_decoder.c
+2
-2
No files found.
vpx/internal/vpx_codec_internal.h
View file @
72ebafff
...
...
@@ -321,7 +321,7 @@ typedef struct vpx_codec_priv_cb_pair
{
vpx_codec_put_frame_cb_fn_t
put_frame
;
vpx_codec_put_slice_cb_fn_t
put_slice
;
};
}
u
;
void
*
user_priv
;
}
vpx_codec_priv_cb_pair_t
;
...
...
vpx/src/vpx_decoder.c
View file @
72ebafff
...
...
@@ -160,7 +160,7 @@ vpx_codec_err_t vpx_codec_register_put_frame_cb(vpx_codec_ctx_t *ctx
res
=
VPX_CODEC_ERROR
;
else
{
ctx
->
priv
->
dec
.
put_frame_cb
.
put_frame
=
cb
;
ctx
->
priv
->
dec
.
put_frame_cb
.
u
.
put_frame
=
cb
;
ctx
->
priv
->
dec
.
put_frame_cb
.
user_priv
=
user_priv
;
res
=
VPX_CODEC_OK
;
}
...
...
@@ -182,7 +182,7 @@ vpx_codec_err_t vpx_codec_register_put_slice_cb(vpx_codec_ctx_t *ctx
res
=
VPX_CODEC_ERROR
;
else
{
ctx
->
priv
->
dec
.
put_slice_cb
.
put_slice
=
cb
;
ctx
->
priv
->
dec
.
put_slice_cb
.
u
.
put_slice
=
cb
;
ctx
->
priv
->
dec
.
put_slice_cb
.
user_priv
=
user_priv
;
res
=
VPX_CODEC_OK
;
}
...
...
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