[Matroska-devel] FLAC in Matroska

Christophe PARIS christophe.paris at free.fr
Mon Nov 17 15:13:02 CET 2003


Moritz Bunkus wrote:

>Hi,
>
>I've finished my FLAC-in-Matroska support and updated the Codec specs
>page. Gabest and Toff, could you please update your filter accordingly?
>Thanks.
>
I've updated CoreFLACDecoder.

MatroskaSplitter need this code to be updated :

else if(CodecID == "A_FLAC")
{
  mt.subtype = FOURCCMap(pwfe->wFormatTag = WAVE_FORMAT_FLAC);
  pwfe->cbSize = pTE->CodecPrivate.GetCount();
  BYTE* pExtra = mt.ReallocFormatBuffer(sizeof(WAVEFORMATEX)+ 
pTE->CodecPrivate.GetCount()) +
    sizeof(WAVEFORMATEX);
  memcpy(pExtra, pTE->CodecPrivate.GetData(), pTE->CodecPrivate.GetCount());
  mts.Add(mt);
}

MatroskaMuxer also need to be updated.

Regrads
Toff




More information about the Matroska-devel mailing list