libaacplus: move profile check above, simplifies code a little

Signed-off-by: Paul B Mahol <onemda@gmail.com>
libaacplus: cosmetics: fix indentation

Signed-off-by: Paul B Mahol <onemda@gmail.com>
libaacplus: return meaningful error codes

Signed-off-by: Paul B Mahol <onemda@gmail.com>
escape124: pass context to av_log()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
escape124: switch to init_get_bits8()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
lavc/codec_desc: SMPTE 302M is not lossy

Signed-off-by: Paul B Mahol <onemda@gmail.com>
s302menc: fix bits_per_raw_sample for 21, 22 & 23 case

Signed-off-by: Paul B Mahol <onemda@gmail.com>
s302menc: unbreak compilation

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Changelog: add entry for the S302m encoder

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>