[Mplayer-cvslog] CVS: main cfgparser.h,1.16,1.17 mencoder.c,1.155,1.156
Kim Minh Kaplan
kmkaplan at selfoffice.com
Sun Sep 1 17:23:00 CEST 2002
Arpi of Ize writes:
> --- mencoder.c 31 Aug 2002 22:29:28 -0000 1.155
> +++ mencoder.c 1 Sep 2002 14:30:40 -0000 1.156
> @@ -528,7 +528,7 @@
> unsigned char tmp[3] = { 0, 0, 0 };
> if (spudec_ifo && vobsub_parse_ifo(NULL,spudec_ifo, palette, &width, &height, 1, dvdsub_id, tmp) >= 0)
> vobsub_writer = vobsub_out_open(vobsub_out, palette, sh_video->disp_w, sh_video->disp_h,
> - vobsub_out_id?vobsub_out_id:tmp, vobsub_out_index);
> + vobsub_out_id?vobsub_out_id:(char *)tmp, vobsub_out_index);
The right thing would be to make tmp a char[] instead of an
unsigned char[].
Kim Minh.
More information about the MPlayer-cvslog
mailing list