mirror of
https://github.com/mpv-player/mpv
synced 2025-03-15 03:14:30 +01:00
Checked the return value when retrieving the protocol level.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6476 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b3b0cc1208
commit
0cbfad6aa4
@ -529,7 +529,10 @@ cddb_retrieve(cddb_data_t *cddb_data) {
|
|||||||
cddb_data->xmcd_file = NULL;
|
cddb_data->xmcd_file = NULL;
|
||||||
|
|
||||||
cddb_create_hello(cddb_data);
|
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);
|
//cddb_get_freedb_sites(&cddb_data);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user