summaryrefslogtreecommitdiffstats
path: root/mp_core.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-02-01 20:11:14 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-02-01 20:11:14 +0000
commit6921ab9e242e186a27db6e392f4ac352e3a003d9 (patch)
treea1dac369f15271a945e46a0b9a37e717417124a9 /mp_core.h
parentea8ae01ee0206a6747b8a05c4668576ce6dc5c26 (diff)
downloadmpv-6921ab9e242e186a27db6e392f4ac352e3a003d9.tar.bz2
mpv-6921ab9e242e186a27db6e392f4ac352e3a003d9.tar.xz
ao_functions_t should be const, part 1
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25945 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp_core.h')
-rw-r--r--mp_core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mp_core.h b/mp_core.h
index 0dafc83d40..01373f7abf 100644
--- a/mp_core.h
+++ b/mp_core.h
@@ -36,7 +36,7 @@
typedef struct MPContext {
int osd_show_percentage;
int osd_function;
- ao_functions_t *audio_out;
+ const ao_functions_t *audio_out;
play_tree_t *playtree;
play_tree_iter_t *playtree_iter;
int eof;
@@ -115,7 +115,7 @@ void uninit_player(unsigned int mask);
void reinit_audio_chain(void);
void init_vo_spudec(void);
double playing_audio_pts(sh_audio_t *sh_audio, demux_stream_t *d_audio,
- ao_functions_t *audio_out);
+ const ao_functions_t *audio_out);
void exit_player_with_rc(const char* how, int rc);
void add_subtitles(char *filename, float fps, int noerr);
int reinit_video_chain(void);