diff mplayer.c @ 25765:304fc0bbefe1

audio_out / video_out structs should be treated as const
author reimar
date Sat, 19 Jan 2008 11:33:36 +0000
parents 0d0c48ecba90
children 6aad76cd84d3
line wrap: on
line diff
--- a/mplayer.c	Sat Jan 19 11:25:41 2008 +0000
+++ b/mplayer.c	Sat Jan 19 11:33:36 2008 +0000
@@ -375,7 +375,7 @@
 
 #define mp_basename2(s) (strrchr(s,'/')==NULL?(char*)s:(strrchr(s,'/')+1))
 
-void *mpctx_get_video_out(MPContext *mpctx)
+const void *mpctx_get_video_out(MPContext *mpctx)
 {
     return mpctx->video_out;
 }