# \[2.52\] Flac corruption while adding album cover

**URL:** https://community.mp3tag.de/t/2-52-flac-corruption-while-adding-album-cover/13771
**Category:** Fixed Bugs
**Tags:** bug-fixed
**Created:** [August 18, 2012, 1:28am UTC](https://community.mp3tag.de/t/2-52-flac-corruption-while-adding-album-cover/13771 "2012-08-18T01:28:04Z")
**Posts on this page:** 6
**Page:** 2

<div class="post-metadata">

### Author: ![thewalrusnp](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/6de8d8/32.png) [@thewalrusnp](https://community.mp3tag.de/u/thewalrusnp)
#### Post date: [August 27, 2012, 4:12pm UTC](https://community.mp3tag.de/t/2-52-flac-corruption-while-adding-album-cover/13771/21 "2012-08-27T16:12:01Z")

</div>

> [@jjclifton](#):
>
> I have noticed the same problem twice in the last two days. I'm using v2.51. Once I add album art (500x500 16kb) one random file out of ~ 20 is corrupted.
> 
> Is there any way to revert the tagging and restore the file to its original state in mp3tag?

I don't think there is any since the file is actually modified. mp3tag does not keep track of the original files upon until the changes are saved.

---

<div class="post-metadata">

### Author: ![thewalrusnp](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/6de8d8/32.png) [@thewalrusnp](https://community.mp3tag.de/u/thewalrusnp)
#### Post date: [August 28, 2012, 1:25am UTC](https://community.mp3tag.de/t/2-52-flac-corruption-while-adding-album-cover/13771/22 "2012-08-28T01:25:13Z")

</div>

I just reproduced the problem again with 2.51. I will fallback to 2.50 and see how it goes.

D:\EACRips\The Flaming Lips - Embryonic\10 - The Ego's Last Stand.flac (FRAME\_CRC\_MISMATCH @ 2m 21s)

---

<div class="post-metadata">

### Author: ![thewalrusnp](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/6de8d8/32.png) [@thewalrusnp](https://community.mp3tag.de/u/thewalrusnp)
#### Post date: [August 28, 2012, 2:04am UTC](https://community.mp3tag.de/t/2-52-flac-corruption-while-adding-album-cover/13771/23 "2012-08-28T02:04:11Z")

</div>

By the way, I used Bit-Compare addon for foobar on the two tracks. Here is what I get:

```
Comparing:
"D:\EACRips\The Flaming Lips - Embryonic - BROKEN\10 - The Ego's Last Stand.flac"
"D:\EACRips\The Flaming Lips - Embryonic\10 - The Ego's Last Stand.flac"
Differences found: 8192 sample(s), starting at 141.7346032 second(s), peak: 0.8291931 at 141.7396599 second(s), 1ch

```

So it does look like mp3tag is messing up with the flac... By the way, all covers I'm adding are 1000 x 1000 in jpg format.

I will also take a look at the hex values using notepad++ but I guess that without the source code, not much more can be done. Is Florian still looking at reported issues?

---

<div class="post-metadata">

### Author: ![thewalrusnp](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/6de8d8/32.png) [@thewalrusnp](https://community.mp3tag.de/u/thewalrusnp)
#### Post date: [August 29, 2012, 1:19am UTC](https://community.mp3tag.de/t/2-52-flac-corruption-while-adding-album-cover/13771/24 "2012-08-29T01:19:26Z")

</div>

Hello all,

I've been adding cover to quite a lot of flac tonight using mp3tag 2.50 and so far, I didn't get any corrupted flac, but it's too early to tell! It does look the corruption bug could have been introduced in version 2.51... By looking at the version history, it could make sense:

```
[2012-05-14] NEW: added support for %_counter% and %_total_files% for format string at action
                   'Import cover from file'.
[2012-05-13] NEW: added option to specify cover type at action 'Import cover from file'.
[2012-05-04] CHG: add cover now defaults to the last used cover directory if the is no cover art in
                   the file's directory.

```

These are changes related to the cover and the bug some of us are having is related to this feature... I will still run further tests using 2.50 to make sure I can't get any corruption files. That could explains why xTobix (and tons of people using mp3tag for ages) cannot reproduce the problem as he is using 2.50.

---

<div class="post-metadata">

### Author: ![mrdenim](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@mrdenim](https://community.mp3tag.de/u/mrdenim)
#### Post date: [March 21, 2016, 4:42pm UTC](https://community.mp3tag.de/t/2-52-flac-corruption-while-adding-album-cover/13771/25 "2016-03-21T16:42:34Z")

</div>

I'm experiencing the same problem. Some FLAC files get corrupted by adding a cover to them through mp3tag. I'm running mp3tag on Win10 and have been experiencing the problem with mp3tag 2.72 and now with 2.75 as well... So I suppose the bug still persists...

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [December 21, 2018, 9:00am UTC](https://community.mp3tag.de/t/2-52-flac-corruption-while-adding-album-cover/13771/26 "2018-12-21T09:00:50Z")

</div>



[Previous page](https://community.mp3tag.de/t/2-52-flac-corruption-while-adding-album-cover/13771.md?page=1)
