avcodec/ac3_parser: add avpriv_ac3_parse_header2() and use it in libavcodec
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 1 Mar 2014 00:47:33 +0000 (01:47 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 1 Mar 2014 00:51:01 +0000 (01:51 +0100)
commiteadc21cfe74fc112dbdbe91e6988bdeae175b861
treeb89dcffecd94bb61fda0f38051b352a183d831d8
parentdf6d21c1e7d347b533b78f0b0ff72bb52e104b73
avcodec/ac3_parser: add avpriv_ac3_parse_header2() and use it in libavcodec

The new function has the ability to allocate the structure, allowing it to grow
without needing major bumps

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/ac3_parser.c
libavcodec/ac3_parser.h
libavcodec/ac3dec.c