1 diff --git a/WebMElement.c b/WebMElement.c
7 void writeVideoTrack(EbmlGlobal *glob, unsigned int trackNumber, int flagLacing,
8 - char *codecId, unsigned int pixelWidth, unsigned int pixelHeight,
9 + const char *codecId, unsigned int pixelWidth, unsigned int pixelHeight,
14 Ebml_EndSubElement(glob, &start); // Track Entry
16 void writeAudioTrack(EbmlGlobal *glob, unsigned int trackNumber, int flagLacing,
17 - char *codecId, double samplingFrequency, unsigned int channels,
18 + const char *codecId, double samplingFrequency, unsigned int channels,
19 unsigned char *private, unsigned long privateSize) {
22 diff --git a/WebMElement.h b/WebMElement.h
26 void writeSegmentInformation(EbmlGlobal *ebml, EbmlLoc *startInfo, unsigned long timeCodeScale, double duration);
27 // this function is a helper only, it assumes a lot of defaults
28 void writeVideoTrack(EbmlGlobal *ebml, unsigned int trackNumber, int flagLacing,
29 - char *codecId, unsigned int pixelWidth, unsigned int pixelHeight,
30 + const char *codecId, unsigned int pixelWidth, unsigned int pixelHeight,
32 void writeAudioTrack(EbmlGlobal *glob, unsigned int trackNumber, int flagLacing,
33 - char *codecId, double samplingFrequency, unsigned int channels,
34 + const char *codecId, double samplingFrequency, unsigned int channels,
35 unsigned char *private_, unsigned long privateSize);
37 void writeSimpleBlock(EbmlGlobal *ebml, unsigned char trackNumber, short timeCode,