shithub: sox

Download patch

ref: 35a08a4a2e37355a099e35d3fd344bf65f440387
parent: f19aeb68ee4c090bf50c9fd21eac1a1f5a7092e4
author: robs <robs>
date: Mon Feb 5 16:28:55 EST 2007

Workaround for older flac versions.

--- a/src/flac.c
+++ b/src/flac.c
@@ -28,6 +28,10 @@
 
 #include <FLAC/all.h>
 
+/* Workaround for older flac versions */
+#define FLAC__metadata_object_vorbiscomment_append_comment(object, entry, copy)\
+  FLAC__metadata_object_vorbiscomment_insert_comment(object, object->data.vorbis_comment.num_comments, entry, copy)
+
 
 
 typedef struct