mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avformat/matroskadec: remove special handling of av1c extradata
Libavcodec can now handle the standard AV1CodecConfigurationRecord extradata as-is.
This commit is contained in:
parent
45e3b6a68b
commit
ffd1316e44
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user