acenc: remove deprecated avctx->frame_bits use
authorRostislav Pehlivanov <atomnuker@gmail.com>
Fri, 18 Dec 2015 14:27:13 +0000 (14:27 +0000)
committerRostislav Pehlivanov <atomnuker@gmail.com>
Fri, 18 Dec 2015 14:28:40 +0000 (14:28 +0000)
commit4386f17bbdf79d19339ab8434b15109dedfb9551
tree06b44a7c4e45bea4e9ca32bd78d7d5f21ae70c05
parentf6d1c15b64c26ec1c9d6de40e43654c9abdc026f
acenc: remove deprecated avctx->frame_bits use

The type of last_frame_pb_count was chosen to be an int since overflow
is impossible (the spec says the maximum bits per frame is 6144 per
channel and the encoder checks for that).

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
libavcodec/aacenc.c
libavcodec/aacenc.h