[Flac] error in files after removing padding

Scott Brown
Mon, 19 May 2014 13:21:31 -0000

ERROR while decoding data
                    state = FLAC__STREAM_DECODER_END_OF_STREAM

It's happening with every file that I've tried now, using both 1.2.1 and
1.3.0.

If a file has artwork and I remove padding, I get the above error when
verifying or decompressing. If no artwork and I remove padding, the file
verifies and decompresses with no issues.

 I'm writing tags via Taglib's file.save() but removing padding via
metaflac.

Thanks,
Scott


On Mon, May 19, 2014 at 9:16 AM, Martijn van Beurden <mvanb1 at
gmail.com>wrote:

>  Hi Scott,
>
> Can you be a little more specific? What error do you get? I'm unable to
> reproduce this error currently, do you have any files you can share that
> are problematic? What version of metaflac are you using?
>
> It might be a bug, it might be corruption induced by some other part of
> the system.
>
> op 19-05-14 15:04, Scott Brown schreef:
>
> I want to remove padding from flac files, so I ran the following command
> on files with artwork in them:
>
>  metaflac --dont-use-padding --remove --block-type=PADDING [filename]
>
>
>   but now my files are corrupt. Verifying them reports a stream error and
> they won't decode.
>
>  If the files had no picture data in them, the remove padding command did
> not corrupt them.
>
>  Is this a bug, or did I run something bad with metaflac?
>
>  Thanks,
> Scott
>
>
> _______________________________________________
> Flac mailing listFlac at
xiph.orghttp://lists.xiph.org/mailman/listinfo/flac
>
>
>
> _______________________________________________
> Flac mailing list
> Flac at xiph.org
> http://lists.xiph.org/mailman/listinfo/flac
>
>
-------------- next part --------------
An HTML attachment was scrubbed...