diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-07-01 20:41:42 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:13:02 +0200 |
commit | 2308e045de854375513bc3be8c4a6d19030c2927 (patch) | |
tree | 7b865029dc4583d795e1822672bc8ed92f2024ae /libmpcodecs | |
parent | 4a0f67ca350f5fb696791b74ad30bde09fefc372 (diff) | |
download | mpv-2308e045de854375513bc3be8c4a6d19030c2927.tar.bz2 mpv-2308e045de854375513bc3be8c4a6d19030c2927.tar.xz |
cleanup: Add const qualifiers for struct ad_functions pointers
The ad_functions structs are in rodata, mark some pointers to them
const.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31606 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/dec_audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/dec_audio.c b/libmpcodecs/dec_audio.c index 1a06b85921..218203272d 100644 --- a/libmpcodecs/dec_audio.c +++ b/libmpcodecs/dec_audio.c @@ -154,7 +154,7 @@ static int init_audio(sh_audio_t *sh_audio, char *codecname, char *afm, } sh_audio->codec = NULL; while (1) { - ad_functions_t *mpadec; + const ad_functions_t *mpadec; int i; sh_audio->ad_driver = 0; // restore original fourcc: |