diff mp_core.h @ 25913:21a1dc062bc5

ao_functions_t should be const, part 1
author reimar
date Fri, 01 Feb 2008 20:11:14 +0000
parents 9d4121fa508a
children afa125da85cf
line wrap: on
line diff
--- a/mp_core.h	Fri Feb 01 12:22:12 2008 +0000
+++ b/mp_core.h	Fri Feb 01 20:11:14 2008 +0000
@@ -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 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);