diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2015-11-05 23:20:23 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2015-11-05 23:20:23 +0200 |
commit | 6f8dc538dab2a9284802b63e80fd4f03bb0dff34 (patch) | |
tree | 387372a6dc1c8e04aa81e19b19820c8d75351f67 /src/idest.h | |
parent | 353839b7a29a53aa754b98b02ede449c737a873a (diff) | |
download | idest-6f8dc538dab2a9284802b63e80fd4f03bb0dff34.tar.gz idest-6f8dc538dab2a9284802b63e80fd4f03bb0dff34.tar.bz2 |
Bugfixes.
1. Fix --convert option so it can be used to remove unnecessary
ID3 formats (e.g. --convert=2).
2. Fix processing of unknown frames in Guile code.
3. Fix setpic and pic modules.
* scheme/idest/batch/setpic.scm (read-picture): Use binary i/o.
* scheme/idest/format/pic.scm (save-picture): Likewise.
* scheme/idest/list-modules.scm: Minor changes.
* src/frametab.gperf (frame_field_from_rawdata): New function.
* src/getopt.m4: Update copyright years.
* src/guile.c (set_frame_from_rawdata): Use frame_field_from_rawdata.
* src/idest.h (frame_field_from_rawdata): New proto.
* src/idop.c (set_tag_options): Always call id3_tag_options.
Diffstat (limited to 'src/idest.h')
-rw-r--r-- | src/idest.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/idest.h b/src/idest.h index 3d18135..977fdd1 100644 --- a/src/idest.h +++ b/src/idest.h @@ -1,5 +1,5 @@ /* This file is part of Idest. - Copyright (C) 2009-2011 Sergey Poznyakoff + Copyright (C) 2009-2011, 2015 Sergey Poznyakoff Idest is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -96,6 +96,10 @@ char *field_to_string(union id3_field *field, int isgenre); int field_binary_from_string(union id3_field *field, const char *str); char *field_binary_to_string(union id3_field *field); +int frame_field_from_rawdata(struct id3_frame *frame, int n, + enum id3_field_type type, + const char *value); + void input_list_add_assignment(const char *name, const char *value); void list_supported_frames(void); |