[MPlayer-dev-eng] [PATCH] fix 'discards qualifiers from pointer target type' warning

Diego Biurrun diego at biurrun.de
Fri Oct 19 11:49:29 CEST 2007


Hi,

attached patch fixes

vd_mpegpes.c: In function 'decode':
vd_mpegpes.c:49: warning: passing argument 2 of 'mp_header_process_sequence_header' discards qualifiers from pointer target type

by declaring an argument of mp_header_process_sequence_header as const.

OK to apply?  If there are no objections I will funnel this into the
repository shortly.

Diego
-------------- next part --------------
A non-text attachment was scrubbed...
Name: const.diff
Type: text/x-diff
Size: 1085 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20071019/6ce38069/attachment.diff>


More information about the MPlayer-dev-eng mailing list