Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
44b55dad
Commit
44b55dad
authored
Jan 08, 2015
by
James Zern
Committed by
Gerrit Code Review
Jan 08, 2015
Browse files
Options
Browse Files
Download
Plain Diff
Merge "vp9: fix -Wclobbered (longjmp + local variables)"
parents
a1daf009
59d63e61
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
vp9/decoder/vp9_decoder.c
vp9/decoder/vp9_decoder.c
+3
-3
vp9/encoder/vp9_encoder.c
vp9/encoder/vp9_encoder.c
+2
-2
No files found.
vp9/decoder/vp9_decoder.c
View file @
44b55dad
...
...
@@ -63,8 +63,8 @@ static void vp9_dec_free_mi(VP9_COMMON *cm) {
}
VP9Decoder
*
vp9_decoder_create
()
{
VP9Decoder
*
const
pbi
=
vpx_memalign
(
32
,
sizeof
(
*
pbi
));
VP9_COMMON
*
const
cm
=
pbi
?
&
pbi
->
common
:
NULL
;
VP9Decoder
*
volatile
const
pbi
=
vpx_memalign
(
32
,
sizeof
(
*
pbi
));
VP9_COMMON
*
volatile
const
cm
=
pbi
?
&
pbi
->
common
:
NULL
;
if
(
!
cm
)
return
NULL
;
...
...
@@ -243,7 +243,7 @@ static void swap_frame_buffers(VP9Decoder *pbi) {
int
vp9_receive_compressed_data
(
VP9Decoder
*
pbi
,
size_t
size
,
const
uint8_t
**
psource
)
{
VP9_COMMON
*
const
cm
=
&
pbi
->
common
;
VP9_COMMON
*
volatile
const
cm
=
&
pbi
->
common
;
const
uint8_t
*
source
=
*
psource
;
int
retcode
=
0
;
...
...
vp9/encoder/vp9_encoder.c
View file @
44b55dad
...
...
@@ -1394,8 +1394,8 @@ static void cal_nmvsadcosts_hp(int *mvsadcost[2]) {
VP9_COMP
*
vp9_create_compressor
(
VP9EncoderConfig
*
oxcf
)
{
unsigned
int
i
;
VP9_COMP
*
const
cpi
=
vpx_memalign
(
32
,
sizeof
(
VP9_COMP
));
VP9_COMMON
*
const
cm
=
cpi
!=
NULL
?
&
cpi
->
common
:
NULL
;
VP9_COMP
*
volatile
const
cpi
=
vpx_memalign
(
32
,
sizeof
(
VP9_COMP
));
VP9_COMMON
*
volatile
const
cm
=
cpi
!=
NULL
?
&
cpi
->
common
:
NULL
;
if
(
!
cm
)
return
NULL
;
...
...
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