RSS Feed/News XF\Http\Upload::analyzeAudio() function reads aac as mp3

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
23,646
Points
823

Reputation:

While writing an addon that adds support for additional audio formats, I noticed a strange bug? If you upload an .aac file with the mime type 'audio/x-hx-aac-adts', the XF\Http\Upload::analyzeAudio() function detects it as an .mp3 file.
1690557796557.png

.acc file contains:
image.png

Continue reading...
 
Status
Not open for further replies.
Top