31 if (frame_size <= 0 || block_align <= 0) {
56 return frame_size_table[
mode];
75 av_log(logctx,
AV_LOG_ERROR,
"unknown codec2 mode %i, can't find block_align\n", mode);
78 return block_align_table[
mode];
int avpriv_codec2_mode_bit_rate(void *logctx, int mode)
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
int avpriv_codec2_mode_frame_size(void *logctx, int mode)
int avpriv_codec2_mode_block_align(void *logctx, int mode)
common internal api header.
#define AVPRIV_CODEC2_MODE_MAX
mode
Use these values in ebur128_init (or'ed).