Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
28258:3bb4536452dc | 28259:f313c0ff6882 |
---|---|
374 const void *mpctx_get_video_out(MPContext *mpctx) | 374 const void *mpctx_get_video_out(MPContext *mpctx) |
375 { | 375 { |
376 return mpctx->video_out; | 376 return mpctx->video_out; |
377 } | 377 } |
378 | 378 |
379 void *mpctx_get_audio_out(MPContext *mpctx) | 379 const void *mpctx_get_audio_out(MPContext *mpctx) |
380 { | 380 { |
381 return mpctx->audio_out; | 381 return mpctx->audio_out; |
382 } | 382 } |
383 | 383 |
384 void *mpctx_get_demuxer(MPContext *mpctx) | 384 void *mpctx_get_demuxer(MPContext *mpctx) |