From fda4dce8a074ef98cc215eb11082464c647fbb67 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 19 Jan 2008 11:33:36 +0000 Subject: audio_out / video_out structs should be treated as const git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25793 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mplayer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mplayer.c') diff --git a/mplayer.c b/mplayer.c index d5af904245..3364018fd8 100644 --- a/mplayer.c +++ b/mplayer.c @@ -375,7 +375,7 @@ static unsigned int inited_flags=0; #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; } -- cgit v1.2.3