qtdemux: fix AAC codec_data values
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Wed, 6 Jul 2016 11:44:10 +0000 (12:44 +0100)
committerLuis de Bethencourt <luisbg@osg.samsung.com>
Wed, 6 Jul 2016 11:47:18 +0000 (12:47 +0100)
As seen in the parent switch for object_type_id, the 4 possible values are
0x40, 0x66, 0x67 and 0x68. Fixing the nested switch to match these values.

Looks like it was a typo making them decimal instead of hexadecimal.

CID 1363328

gst/isomp4/qtdemux.c

index be9b4e7..760c683 100644 (file)
@@ -12693,11 +12693,11 @@ gst_qtdemux_handle_esds (GstQTDemux * qtdemux, QtDemuxStream * stream,
             profile_str = "main";
             profile = 0;
             break;
-          case 67:
+          case 0x67:
             profile_str = "lc";
             profile = 1;
             break;
-          case 68:
+          case 0x68:
             profile_str = "ssr";
             profile = 2;
             break;