summaryrefslogtreecommitdiffabout
path: root/src/Makefile.am
authorSergey Poznyakoff <gray@gnu.org.ua>2009-03-15 21:10:01 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2009-03-15 21:10:01 (GMT)
commit3a27428194f866050472b0f7c7b9e55b19cec230 (patch) (side-by-side diff)
tree0207e9f21036bcb1b2a7fe3edf11b9ad761e2768 /src/Makefile.am
parentf6c2e714cc84ad327cf661967cdb024f835dd1c1 (diff)
downloadidest-3a27428194f866050472b0f7c7b9e55b19cec230.tar.gz
idest-3a27428194f866050472b0f7c7b9e55b19cec230.tar.bz2
Remove old v1 code. Add an option for converting tags to v1.
* libid3tag/file.c (SIZE_T_MAX): Rename to MALLOC_MAX. Use (size_t_max-1), due to a bug in glibc's malloc. (make_temp_file): Fix size calculation (memory overrun). (v2_write): data and/or length can be 0. (id3_file_update): Drop v2 header, if ID3_TAG_OPTION_NO_ID3V2 is set. * libid3tag/id3tag.h (ID3_TAG_OPTION_NO_ID3V2): New constant. * src/id3v1.c, src/id3v1.h: Remove. * src/id3v2.c: Rename to... * src/idop.c: ... this. (set_tags): Handle convert_version and version_option. * src/Makefile.am: Reflect the above. * src/cmdline.opt (--convert, -C): New option. * src/idest.h: Kick off id3v1.h. (convert_version, version_option): new externs. (set_id3v1, query_id3v1, del_id3v1) (set_id3v2, query_id3v2, del_id3v2): Remove. (set_tags, query_tags, del_tags): New prototypes. * src/main.c (convert_version): New variable. (query_id3): use all_frames to determine ed_list. (set_id3): Remove old v1 code. (main): Remove old v1 code.
Diffstat (limited to 'src/Makefile.am') (more/less context) (ignore whitespace changes)
-rw-r--r--src/Makefile.am4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 3c9b876..a94be57 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -18,9 +18,7 @@ bin_PROGRAMS=idest
idest_SOURCES=\
backup.c\
idest.h\
- id3v1.c\
- id3v1.h\
- id3v2.c\
+ idop.c\
main.c\
cmdline.h\
slist.c

Return to:

Send suggestions and report system problems to the System administrator.