# HG changeset patch # User aurel # Date 1164320765 0 # Node ID 241f6efbbcdc2929f9c206bf2fe323f02478990d # Parent bc94f4215dd081321c5b0b2c28534034bbb9ff59 No need for special trick anymore for flac in matroska. The flac decoder now understand full metadata header in extradata. diff -r bc94f4215dd0 -r 241f6efbbcdc matroska.c --- a/matroska.c Wed Nov 22 18:47:05 2006 +0000 +++ b/matroska.c Thu Nov 23 22:26:05 2006 +0000 @@ -2266,14 +2266,6 @@ } } - else if (codec_id == CODEC_ID_FLAC) { - AVPacket *pkt = av_mallocz(sizeof(AVPacket)); - av_new_packet(pkt, track->codec_priv_size); - memcpy(pkt->data, track->codec_priv, track->codec_priv_size); - matroska_queue_packet(matroska, pkt); - track->codec_priv_size = 0; - } - else if (codec_id == CODEC_ID_TTA) { MatroskaAudioTrack *audiotrack = (MatroskaAudioTrack *) track; ByteIOContext b;