[Mplayer-cvslog] CVS: main/libmpdemux url.c,1.19,1.20
Tobias Diedrich CVS
ranma at mplayerhq.hu
Fri Apr 18 14:16:58 CEST 2003
- Previous message: [Mplayer-cvslog] CVS: main/libmpdemux network.c,1.76,1.77
- Next message: [Mplayer-cvslog] CVS: main/libmpcodecs vd_ffmpeg.c,1.85,1.86 vd_libmpeg2.c,1.20,1.21 vf_pp.c,1.26,1.27 mp_image.h,1.22,1.23
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv20012/libmpdemux
Modified Files:
url.c
Log Message:
Fix incorrect URL encoding.
Ilya Konstantinov <mplayer-dev-eng at future.shiny.co.il>
Index: url.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/url.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- url.c 26 Mar 2003 11:27:48 -0000 1.19
+++ url.c 18 Apr 2003 12:16:35 -0000 1.20
@@ -232,9 +232,9 @@
unsigned char c1 = ((c & 0xf0) >> 4);
unsigned char c2 = (c & 0x0f);
if (c1 < 10) c1+='0';
- else c1+='A';
+ else c1+='A'-10;
if (c2 < 10) c2+='0';
- else c2+='A';
+ else c2+='A'-10;
*outbuf++ = '%';
*outbuf++ = c1;
*outbuf++ = c2;
- Previous message: [Mplayer-cvslog] CVS: main/libmpdemux network.c,1.76,1.77
- Next message: [Mplayer-cvslog] CVS: main/libmpcodecs vd_ffmpeg.c,1.85,1.86 vd_libmpeg2.c,1.20,1.21 vf_pp.c,1.26,1.27 mp_image.h,1.22,1.23
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list