[MPlayer-dev-eng] [PATCH] vobsub.c spudec.h compiler warning

Kim Minh Kaplan kmkaplan at selfoffice.com
Fri Feb 28 09:04:04 CET 2003


Arne Driescher writes:

> +	/* Get a working copy from the raw_filename */
> +	filename = strdup(raw_filename);

This is gross.  The variable filename is a constant and need not be
copied.  The correct fix is a onliner: change "char *p" to "const char *p".

Kim Minh.


More information about the MPlayer-dev-eng mailing list