added adts extension to AAC Identify

This commit is contained in:
DataHoarder 2022-04-17 19:49:02 +02:00
parent 578b3f3770
commit 28d9a9f508
Signed by: DataHoarder
SSH key fingerprint: SHA256:OLTRf6Fl87G52SiR7sWLGNzlJt4WOX+tfI2yxo0z7xk

View file

@ -212,5 +212,5 @@ func (f Format) Encode(source audio.Source, writer io.WriteCloser, options map[s
}
func (f Format) Identify(peek []byte, extension string) bool {
return extension == "aac"
return extension == "aac" || extension == "adts"
}