mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 00:32:31 +00:00
Revert "avformat/matroskaenc: write CodecPrivate in WebM"
This reverts commit 4755b6e6d1
.
This change was not necessary. CodecPrivate was being written to WebM
for codecs like AV1 already.
This commit is contained in:
parent
4755b6e6d1
commit
a068594248
@ -1429,7 +1429,7 @@ static int mkv_write_track(AVFormatContext *s, MatroskaMuxContext *mkv,
|
||||
return AVERROR(EINVAL);
|
||||
}
|
||||
|
||||
if (par->codec_id != AV_CODEC_ID_WEBVTT) {
|
||||
if (mkv->mode != MODE_WEBM || par->codec_id != AV_CODEC_ID_WEBVTT) {
|
||||
mkv->tracks[i].codecpriv_offset = avio_tell(pb);
|
||||
ret = mkv_write_codecprivate(s, pb, par, native_id, qt_id);
|
||||
if (ret < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user