OSDN Git Service

aac_latm: Align inband PCE to the start of the payload
authorAlex Converse <alex.converse@gmail.com>
Thu, 9 Feb 2017 16:58:47 +0000 (08:58 -0800)
committerAlex Converse <alex.converse@gmail.com>
Mon, 13 Feb 2017 17:31:13 +0000 (09:31 -0800)
commit1fce67d6403a4540181f6ed05abf5b3edd4ef014
tree54eae237c02a54c0543def6c41dc8916a2dff389
parent3bb24fc344f0e8448b3c6826193e8ee43f7d984d
aac_latm: Align inband PCE to the start of the payload

A strict reading of the spec seems to imply that it should be aligned to
the start of the element instance tag, but that would break all of the
samples with PCEs.

It seems like a well formed LATM stream should have its PCE in the ASC
rather than inband.

Fixes ticket 4544
libavcodec/aacdec_template.c