# HG changeset patch # User diego # Date 1266847479 0 # Node ID 94c7f4056b2b314f10d1e7dbac058b6fd0c96e83 # Parent 0aa7c9d45f92530721bb692cd1dfa3bc0ef8efac Mark member info of struct ad_functions_s as const. diff -r 0aa7c9d45f92 -r 94c7f4056b2b libmpcodecs/ad.h --- a/libmpcodecs/ad.h Mon Feb 22 14:03:46 2010 +0000 +++ b/libmpcodecs/ad.h Mon Feb 22 14:04:39 2010 +0000 @@ -27,7 +27,7 @@ /* interface of video decoder drivers */ typedef struct ad_functions_s { - 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);