mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
19 lines
958 B
Diff
19 lines
958 B
Diff
|
Description: Add extern to three functions for gcc-10 compatibility.
|
||
|
Author: Peter Michael Green <plugwash@raspbian.org>
|
||
|
|
||
|
--- a/modules/codec/omxil/omxil_core.h
|
||
|
+++ b/modules/codec/omxil/omxil_core.h
|
||
|
@@ -34,9 +34,9 @@ extern OMX_ERRORTYPE (*pf_component_enum
|
||
|
extern OMX_ERRORTYPE (*pf_get_roles_of_component)(OMX_STRING, OMX_U32 *, OMX_U8 **);
|
||
|
|
||
|
/* Extra IOMX android functions. Can be NULL if we don't link with libiomx */
|
||
|
-OMX_ERRORTYPE (*pf_enable_graphic_buffers)(OMX_HANDLETYPE, OMX_U32, OMX_BOOL);
|
||
|
-OMX_ERRORTYPE (*pf_get_graphic_buffer_usage)(OMX_HANDLETYPE, OMX_U32, OMX_U32*);
|
||
|
-OMX_ERRORTYPE (*pf_get_hal_format) (const char *, int *);
|
||
|
+extern OMX_ERRORTYPE (*pf_enable_graphic_buffers)(OMX_HANDLETYPE, OMX_U32, OMX_BOOL);
|
||
|
+extern OMX_ERRORTYPE (*pf_get_graphic_buffer_usage)(OMX_HANDLETYPE, OMX_U32, OMX_U32*);
|
||
|
+extern OMX_ERRORTYPE (*pf_get_hal_format) (const char *, int *);
|
||
|
|
||
|
int InitOmxCore(vlc_object_t *p_this);
|
||
|
void DeinitOmxCore(void);
|