diff mplayer.c @ 28259:f313c0ff6882

Add missing const qualifier to mpctx_get_audio_out function declaration. This fixes the warning: mplayer.c:381: warning: return discards qualifiers from pointer target type
author diego
date Sat, 10 Jan 2009 20:01:47 +0000
parents a3ec147048ce
children 4210f3621db1
line wrap: on
line diff
--- a/mplayer.c	Sat Jan 10 14:23:42 2009 +0000
+++ b/mplayer.c	Sat Jan 10 20:01:47 2009 +0000
@@ -376,7 +376,7 @@
     return mpctx->video_out;
 }
 
-void *mpctx_get_audio_out(MPContext *mpctx)
+const void *mpctx_get_audio_out(MPContext *mpctx)
 {
     return mpctx->audio_out;
 }