mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
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
This commit is contained in:
parent
17c90b9d62
commit
b9d328597c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user