diff options
Diffstat (limited to 'src/idop.c')
-rw-r--r-- | src/idop.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* This file is part of Idest. | 1 | /* This file is part of Idest. |
2 | Copyright (C) 2009-2011 Sergey Poznyakoff | 2 | Copyright (C) 2009-2011, 2015 Sergey Poznyakoff |
3 | 3 | ||
4 | Idest is free software; you can redistribute it and/or modify | 4 | Idest is free software; you can redistribute it and/or modify |
5 | it under the terms of the GNU General Public License as published by | 5 | it under the terms of the GNU General Public License as published by |
@@ -377,10 +377,9 @@ set_tag_options(struct id3_tag *tag, int vopt) | |||
377 | opts |= ID3_TAG_OPTION_ID3V1; | 377 | opts |= ID3_TAG_OPTION_ID3V1; |
378 | if (!(vopt & IDEST_ID3V_2)) | 378 | if (!(vopt & IDEST_ID3V_2)) |
379 | opts |= ID3_TAG_OPTION_NO_ID3V2; | 379 | opts |= ID3_TAG_OPTION_NO_ID3V2; |
380 | if (opts) | 380 | id3_tag_options(tag, |
381 | id3_tag_options(tag, | 381 | ID3_TAG_OPTION_ID3V1|ID3_TAG_OPTION_NO_ID3V2, |
382 | ID3_TAG_OPTION_ID3V1|ID3_TAG_OPTION_NO_ID3V2, | 382 | opts); |
383 | opts); | ||
384 | } | 383 | } |
385 | 384 | ||
386 | int | 385 | int |