From b9d328597c4309b2dfd46e373b1b97b4509630e9 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Thu, 23 Nov 2006 22:26:05 +0000 Subject: No need for special trick anymore for flac in matroska. The flac decoder now understand full metadata header in extradata. Originally committed as revision 7162 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/matroska.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'libavformat/matroska.c') diff --git a/libavformat/matroska.c b/libavformat/matroska.c index 32146d7c04..582d7d8fd3 100644 --- a/libavformat/matroska.c +++ b/libavformat/matroska.c @@ -2266,14 +2266,6 @@ matroska_read_header (AVFormatContext *s, } } - 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; -- cgit v1.2.1