[MPlayer-dev-eng] [PATCH] Remove one warning from mpegpes.c
Diego Biurrun
diego at biurrun.de
Thu Feb 1 11:56:50 CET 2007
On Wed, Jan 31, 2007 at 10:24:56AM +0100, Nico Sabbi wrote:
> Diego Biurrun wrote:
>
> >On Wed, Jan 31, 2007 at 01:40:35AM +0100, Carl Eugen Hoyos wrote:
> >
> >>Attached patch removes the warning from compiling
> >>libmpcodecs/vd_mpegpes.c:
> >>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
> >
> >AFAICT this is used in other places without const, I'm not sure this is
> >correct...
>
> it's ok to be changed in all files that call
> mp_header_process_sequence_header() and friends
Change what? The type of the variables?
Diego
More information about the MPlayer-dev-eng
mailing list