Bug fix of tag checking 16/153416/1 accepted/tizen/unified/20170929.081702 submit/tizen/20170928.095536
authorHaejeong Kim <backto.kim@samsung.com>
Thu, 28 Sep 2017 09:53:24 +0000 (18:53 +0900)
committerHaejeong Kim <backto.kim@samsung.com>
Thu, 28 Sep 2017 09:53:24 +0000 (18:53 +0900)
Change-Id: I7be4676b170f561f0e73f9548d28b7c2d1292093

utils/mm_file_util_tag.c

index fa7efd2..8802cfa 100755 (executable)
@@ -908,7 +908,7 @@ static int GetSA3DInfoFromMP4ATagBox(MMFileFormatContext *formatContext, MMFileI
                                                                (sa3dTag.channel_map[5] == 7) &&
                                                                (sa3dTag.channel_map[6] == 5) &&
                                                                (sa3dTag.channel_map[7] == 8) &&
-                                                               (sa3dTag.channel_map[4] == 4))
+                                                               (sa3dTag.channel_map[8] == 4))
                                                        formatContext->ambisonicFormat = MMFILE_AMBISONIC_FORMAT_AMB;
                                        } else {
                                                debug_error(DEBUG, "Incorrect metadata: ambisonic order and channels number do not correspond\n");