Mercurial > libavformat.hg
changeset 1540:241f6efbbcdc libavformat
No need for special trick anymore for flac in matroska.
The flac decoder now understand full metadata header in extradata.
author | aurel |
---|---|
date | Thu, 23 Nov 2006 22:26:05 +0000 |
parents | bc94f4215dd0 |
children | 463d731628b3 |
files | matroska.c |
diffstat | 1 files changed, 0 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- 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;