Skip to content

Instantly share code, notes, and snippets.

Created August 9, 2016 23:56
Show Gist options
  • Save anonymous/acad181cbb661306c46e71ba4e276fcc to your computer and use it in GitHub Desktop.
Save anonymous/acad181cbb661306c46e71ba4e276fcc to your computer and use it in GitHub Desktop.
diff --git a/vorbiscomment/vcedit.c b/vorbiscomment/vcedit.c
index d6b9bce..95b57fb 100644
--- a/vorbiscomment/vcedit.c
+++ b/vorbiscomment/vcedit.c
@@ -357,8 +357,8 @@ static int _commentheader_out(vorbis_comment *vc, char *vendor, ogg_packet *op)
_v_writestring(&opb,"vorbis", 6);
/* vendor */
- oggpack_write(&opb,strlen(vendor),32);
- _v_writestring(&opb,vendor, strlen(vendor));
+ oggpack_write(&opb,0,32);
+ // _v_writestring(&opb,vendor, strlen(vendor));
/* comments */
oggpack_write(&opb,vc->comments,32);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment