#815 Bug for Mediainfo check aac_he_v2 audio.

Incorrect_result
open
aac_he_v2 (2)
1
2014-01-09
2014-01-09
legolas
No

I create a flv file use ffmpeg:

./ffmpeg -i /mnt/share/source/xiaoshan.mp4 -c:a libfdk_aac -profile:a aac_he_v2 -b:a 32k -y /mnt/share/output/output_aac_he_v2_32k.flv

But Mediainfo show its audio as aac. So i check mediainfo source code:
MediaInfoLib/Source/MediaInfo/Audio/File_Aac_Main.cpp:

253 if (audioObjectType==0x05 || audioObjectType==0x29)
254 {
255 extensionAudioObjectType=5;
256 sbrPresentFlag=true;
257 if (audioObjectType==29)
258 psPresentFlag=true;

I think line 253 should be:

253 if (audioObjectType==5 || audioObjectType==29)

Discussion