avcodec/codec2utils: move the remaining avpriv functions to lavf

They are only used by the codec2 demuxers.

The symbols are kept around until the next major bump.

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2020-10-26 11:18:03 -03:00
parent 7f76974e7d
commit 37d742b607
3 changed files with 69 additions and 3 deletions

View File

@@ -23,6 +23,7 @@
#include "internal.h"
#include "libavcodec/codec2utils.h"
#if LIBAVCODEC_VERSION_MAJOR < 59
int avpriv_codec2_mode_bit_rate(void *logctx, int mode)
{
int frame_size = avpriv_codec2_mode_frame_size(logctx, mode);
@@ -78,3 +79,4 @@ int avpriv_codec2_mode_block_align(void *logctx, int mode)
return block_align_table[mode];
}
}
#endif