Fix aacpase error tolerance issue
There is no need to check channel configure in adts header.
The channel could be output of decoder.
No need to return fatal error here.
https://bugzilla.gnome.org/show_bug.cgi?id=743332
UpStream Status: Pending
Signed-off-by: Lyon Wang <lyon.wang@freescale.com>
diff --git a/gst/audioparsers/gstaacparse.c b/gst/audioparsers/gstaacparse.c
index ad81a54..a0131fd 100644
--- a/gst/audioparsers/gstaacparse.c
+++ b/gst/audioparsers/gstaacparse.c
@@ -920,7 +920,7 @@
gst_aac_parse_parse_adts_header (aacparse, data, &rate, &channels,
&aacparse->object_type, &aacparse->mpegversion);
- if (!channels || !framesize) {
+ if (!framesize) {
GST_DEBUG_OBJECT (aacparse, "impossible ADTS configuration");
return FALSE;
}