projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1110689
)
tools_common,VpxInterface: fix interface fn ptr proto
author
James Zern
<jzern@google.com>
Sat, 25 Feb 2023 03:25:39 +0000
(19:25 -0800)
committer
James Zern
<jzern@google.com>
Sat, 25 Feb 2023 03:25:39 +0000
(19:25 -0800)
Use (void) to indicate an empty parameter list and match the declaration
of vpx_codec_vp[89]_[cd]x. This fixes a cfi sanitizer error.
Change-Id: I190f432eea4d1765afffd84c7458ec44d863f90c
tools_common.h
patch
|
blob
|
history
diff --git
a/tools_common.h
b/tools_common.h
index
b9cfb9c
..
3a26641
100644
(file)
--- a/
tools_common.h
+++ b/
tools_common.h
@@
-147,7
+147,7
@@
int read_yuv_frame(struct VpxInputContext *input_ctx, vpx_image_t *yuv_frame);
typedef struct VpxInterface {
const char *const name;
const uint32_t fourcc;
- vpx_codec_iface_t *(*const codec_interface)();
+ vpx_codec_iface_t *(*const codec_interface)(
void
);
} VpxInterface;
int get_vpx_encoder_count(void);