Commit 9201079c authored by conrad's avatar conrad
Browse files

flac: set vendor_string.length = 0



Avoids debug crash with libFLAC 1.2.1; tested on Windows (x64)
Reported-by: default avatarДенис Кулаков <kulakov_denis@mail.ru>
parent 9e33ff19
......@@ -541,6 +541,7 @@ fs_flac_encode_vorbiscomments (FishSound * fsound)
metadata->is_last = true;
metadata->length = total_length;
/* Don't bother setting the vendor_string, as libFLAC ignores it */
metadata->data.vorbis_comment.vendor_string.length = 0;
metadata->data.vorbis_comment.num_comments = length;
metadata->data.vorbis_comment.comments = comments;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment