After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 752161 - ac3parse: Apply the loosen parsing policy
ac3parse: Apply the loosen parsing policy
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
unspecified
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-07-09 07:51 UTC by KyungYong Kim
Modified: 2018-11-03 15:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ac3parse: Apply the loosen parsing policy (1.46 KB, patch)
2015-07-09 07:51 UTC, KyungYong Kim
none Details | Review

Description KyungYong Kim 2015-07-09 07:51:33 UTC
Created attachment 307131 [details] [review]
ac3parse: Apply the loosen parsing policy

According to A/52 Annex E, the bsid field in header may be greater than 16.
Thus, decoders compliant with this Annex shall mute if the value of bsid is 9, 10, or greater than 16.
But, ac3parse doesn't accept the value of bsid is greater than 16.
gst_ac3_parse_frame_header () returned FALSE for those frames and discarded them.
We apply the loosen parsing policy rather than the strict parsing policy.

------------------------------
A/52 Annex E (17 December 2012)

2.3.1.6 bsid – Bit Stream Identification – 5 Bits
The bsid field has a value of ‘10000’ (=16) for bitstreams compliant with this Annex. Values of smaller than 16 and greater than 10 are used for versions of E-AC-3 which are backwards compatible with version 16 decoders. Decoders which can decode version 16 will thus be able to decode version numbers less than 16 and greater than 10. Additionally, E-AC-3 decoders shall also be able to decode AC-3 bitstreams with bsid values 0 through 8. Decoders compliant with this Annex are not able to decode bit streams with bsid =9 or 10. Thus, decoders compliant with this Annex shall mute if the value of bsid is 9, 10, or greater than 16, and shall decode and reproduce audio if the value of bsid is 0 – 8, or 11 – 16.
------------------------------
Comment 1 GStreamer system administrator 2018-11-03 15:02:04 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/202.