1
0
Fork 0

matroskadec_haali: fix av1 extradata

This commit is contained in:
Hendrik Leppkes 2019-03-13 02:43:59 +01:00
parent 9096e76cdf
commit 70de96c52c
Signed by: hendrik
GPG Key ID: 846079A4B0A7C1B5
1 changed files with 2 additions and 0 deletions

View File

@ -1007,6 +1007,8 @@ static int mkv_generate_extradata(AVFormatContext *s, TrackInfo *info, enum AVCo
avio_wl32(&b, av_rescale(s->duration, info->AV.Audio.OutputSamplingFreq, AV_TIME_BASE));
} else if (codec_id == AV_CODEC_ID_WAVPACK) {
return 0;
} else if (codec_id == AV_CODEC_ID_AV1) {
extradata_offset = 4;
}
if (*extradata_ptr)