From a85dbfc2467a35d9b1e31e78e5b4bd8a563bbe29 Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Wed, 6 Jul 2016 12:44:10 +0100 Subject: [PATCH] qtdemux: fix AAC codec_data values 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index be9b4e7296..760c683085 100644 --- a/gst/isomp4/qtdemux.c +++ b/gst/isomp4/qtdemux.c @@ -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;