[MPlayer-cvslog] r28294 - trunk/mplayer.c

diego subversion at mplayerhq.hu
Sat Jan 10 21:01:47 CET 2009


Author: diego
Date: Sat Jan 10 21:01:47 2009
New Revision: 28294

Log:
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

Modified:
   trunk/mplayer.c

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	Sat Jan 10 15:23:42 2009	(r28293)
+++ trunk/mplayer.c	Sat Jan 10 21:01:47 2009	(r28294)
@@ -376,7 +376,7 @@ const void *mpctx_get_video_out(MPContex
     return mpctx->video_out;
 }
 
-void *mpctx_get_audio_out(MPContext *mpctx)
+const void *mpctx_get_audio_out(MPContext *mpctx)
 {
     return mpctx->audio_out;
 }



More information about the MPlayer-cvslog mailing list