Commit b9d32859 authored by Aurelien Jacobs's avatar Aurelien Jacobs
Browse files

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
parent 17c90b9d
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment