diff options
author | mich <mich@FreeBSD.org> | 2005-07-12 20:48:30 +0800 |
---|---|---|
committer | mich <mich@FreeBSD.org> | 2005-07-12 20:48:30 +0800 |
commit | 84d45c06415d634d32c67a686dcbb236ce955118 (patch) | |
tree | 31dd0ec1ae37accbab63e93b26cb4e39e2e22256 /sysutils/libcdio/files | |
parent | 3a43689397f12522741d9b4156c222867860d2d5 (diff) | |
download | freebsd-ports-gnome-84d45c06415d634d32c67a686dcbb236ce955118.tar.gz freebsd-ports-gnome-84d45c06415d634d32c67a686dcbb236ce955118.tar.zst freebsd-ports-gnome-84d45c06415d634d32c67a686dcbb236ce955118.zip |
o Update to -> 0.75
- audio volume level fix on Microsoft Windows
- fix build when --enable-shared, --disable-static
- CD-Text retrieval fix
- allow the MMC timeout to be adjusted by the application
- cd-paranoia: Add option --mmc-timeout (-m) to set MMC timeout.
We now check that integer arguments are integers and are within
range.
- changes for libcddb 1.1.0 API change
- remove gcc 4.0 warnings
- miscellaneous small bug fixes, removal of questionable idioms or
memory leak fixes
Diffstat (limited to 'sysutils/libcdio/files')
-rw-r--r-- | sysutils/libcdio/files/patch-src_cdda-player.c | 58 | ||||
-rw-r--r-- | sysutils/libcdio/files/patch-src_cddb.c | 23 |
2 files changed, 0 insertions, 81 deletions
diff --git a/sysutils/libcdio/files/patch-src_cdda-player.c b/sysutils/libcdio/files/patch-src_cdda-player.c deleted file mode 100644 index 1331f1d5d7c3..000000000000 --- a/sysutils/libcdio/files/patch-src_cdda-player.c +++ /dev/null @@ -1,58 +0,0 @@ - -$FreeBSD$ - ---- src/cdda-player.c.orig -+++ src/cdda-player.c -@@ -381,12 +381,6 @@ - return b_ok; - } - --#define add_cddb_disc_info(format_str, field) \ -- if (p_cddb_disc->field && !strlen(field)) { \ -- snprintf(field, sizeof(field), format_str, p_cddb_disc->field); \ -- b_cdtext_ ## field = false; \ -- } -- - static void - get_cddb_disc_info(CdIo_t *p_cdio) - { -@@ -394,10 +388,12 @@ - b_db = init_cddb(p_cdio, &p_conn, &p_cddb_disc, xperror, i_first_track, - i_tracks, &i_cddb_matches); - if (b_db) { -- add_cddb_disc_info("%s", artist); -- add_cddb_disc_info("%s", title); -- add_cddb_disc_info("%s", genre); -- add_cddb_disc_info("%4d", year); -+ int i_year; -+ i_year = atoi(year); -+ cddb_disc_set_artist(p_cddb_disc, artist); -+ cddb_disc_set_title(p_cddb_disc, title); -+ cddb_disc_set_genre(p_cddb_disc, genre); -+ cddb_disc_set_year(p_cddb_disc, i_year); - } - #endif - return; -@@ -687,11 +683,6 @@ - - } - --#define add_cddb_track_info(format_str, field) \ -- if (t->field) \ -- snprintf(cd_info[i_track].field, sizeof(cd_info[i_track].field)-1, \ -- format_str, t->field); -- - static void - get_cddb_track_info(track_t i_track) - { -@@ -699,8 +690,8 @@ - cddb_track_t *t = cddb_disc_get_track(p_cddb_disc, - i_track - i_first_track); - if (t) { -- add_cddb_track_info("%s", title); -- add_cddb_track_info("%s", artist); -+ cddb_track_set_title(t, title); -+ cddb_track_set_artist(t, artist); - } - - #else diff --git a/sysutils/libcdio/files/patch-src_cddb.c b/sysutils/libcdio/files/patch-src_cddb.c deleted file mode 100644 index 3ec5ac21ef2d..000000000000 --- a/sysutils/libcdio/files/patch-src_cddb.c +++ /dev/null @@ -1,23 +0,0 @@ - -$FreeBSD$ - ---- src/cddb.c.orig -+++ src/cddb.c -@@ -117,13 +117,14 @@ - } - for(i = 0; i < i_tracks; i++) { - cddb_track_t *t = cddb_track_new(); -- t->frame_offset = cdio_get_track_lba(p_cdio, i+i_first_track); -+ cddb_track_set_frame_offset(t, -+ cdio_get_track_lba(p_cdio, i+i_first_track)); - cddb_disc_add_track(*pp_cddb_disc, t); - } - -- (*pp_cddb_disc)->length = -+ cddb_disc_set_length(*pp_cddb_disc, - cdio_get_track_lba(p_cdio, CDIO_CDROM_LEADOUT_TRACK) -- / CDIO_CD_FRAMES_PER_SEC; -+ / CDIO_CD_FRAMES_PER_SEC); - - if (!cddb_disc_calc_discid(*pp_cddb_disc)) { - errmsg("libcddb calc discid failed."); |