summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/ad.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs/ad.h')
-rw-r--r--libmpcodecs/ad.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/ad.h b/libmpcodecs/ad.h
index 8063ea994e..a23faa24e7 100644
--- a/libmpcodecs/ad.h
+++ b/libmpcodecs/ad.h
@@ -9,7 +9,7 @@ typedef mp_codec_info_t ad_info_t;
/* interface of video decoder drivers */
typedef struct ad_functions
{
- ad_info_t *info;
+ const ad_info_t *info;
int (*preinit)(sh_audio_t *sh);
int (*init)(sh_audio_t *sh);
void (*uninit)(sh_audio_t *sh);
@@ -18,7 +18,7 @@ typedef struct ad_functions
} ad_functions_t;
// NULL terminated array of all drivers
-extern ad_functions_t* mpcodecs_ad_drivers[];
+extern const ad_functions_t * const mpcodecs_ad_drivers[];
// fallback if ADCTRL_RESYNC not implemented: sh_audio->a_in_buffer_len=0;
#define ADCTRL_RESYNC_STREAM 1 /* resync, called after seeking! */