[Mplayer-cvslog] CVS: main/libmpdemux cddb.c,1.1,1.2
Bertrand Baudet
bertrand at mplayerhq.hu
Fri Jun 21 08:25:51 CEST 2002
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv19211
Modified Files:
cddb.c
Log Message:
Checked the return value when retrieving the protocol level.
Index: cddb.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/cddb.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- cddb.c 21 Jun 2002 06:15:36 -0000 1.1
+++ cddb.c 21 Jun 2002 06:25:48 -0000 1.2
@@ -529,7 +529,10 @@
cddb_data->xmcd_file = NULL;
cddb_create_hello(cddb_data);
- cddb_get_proto_level(cddb_data);
+ if( cddb_get_proto_level(cddb_data)<0 ) {
+ printf("Failed to get the protocol level\n");
+ return -1;
+ }
//cddb_get_freedb_sites(&cddb_data);
More information about the MPlayer-cvslog
mailing list