diff options
author | Jan Ekström <jeebjp@gmail.com> | 2020-11-23 18:31:29 +0200 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2021-05-08 15:27:00 +0300 |
commit | ffd1316e441a8310cf1746d86fed165e17e10018 (patch) | |
tree | 7ba24351c93de7d27feaec017903b2dd5309b4ee | |
parent | 45e3b6a68b61114bbb24083dcb71a5991efa4fb0 (diff) | |
download | ffmpeg-ffd1316e441a8310cf1746d86fed165e17e10018.tar.gz |
avformat/matroskadec: remove special handling of av1c extradata
Libavcodec can now handle the standard AV1CodecConfigurationRecord
extradata as-is.
-rw-r--r-- | libavformat/matroskadec.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 8523261760..73e1ddb68d 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -2720,10 +2720,6 @@ static int matroska_parse_tracks(AVFormatContext *s) /* we don't need any value stored in CodecPrivate. make sure that it's not exported as extradata. */ track->codec_priv.size = 0; - } else if (codec_id == AV_CODEC_ID_AV1 && track->codec_priv.size) { - /* For now, propagate only the OBUs, if any. Once libavcodec is - updated to handle isobmff style extradata this can be removed. */ - extradata_offset = 4; } track->codec_priv.size -= extradata_offset; |