mirror of https://git.ffmpeg.org/ffmpeg.git
mlp: Drop ff_ prefix from a static function
This commit is contained in:
parent
1f6e5dd4d4
commit
cea7fd9afb
|
@ -120,7 +120,7 @@ static uint64_t truehd_layout(int chanmap)
|
||||||
return layout;
|
return layout;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int ff_mlp_get_major_sync_size(const uint8_t * buf, int bufsize)
|
static int mlp_get_major_sync_size(const uint8_t * buf, int bufsize)
|
||||||
{
|
{
|
||||||
int has_extension, extensions = 0;
|
int has_extension, extensions = 0;
|
||||||
int size = 28;
|
int size = 28;
|
||||||
|
@ -150,7 +150,7 @@ int ff_mlp_read_major_sync(void *log, MLPHeaderInfo *mh, BitstreamContext *bc)
|
||||||
|
|
||||||
assert(bitstream_tell(bc) == 0);
|
assert(bitstream_tell(bc) == 0);
|
||||||
|
|
||||||
header_size = ff_mlp_get_major_sync_size(bc->buffer, bc->size_in_bits >> 3);
|
header_size = mlp_get_major_sync_size(bc->buffer, bc->size_in_bits >> 3);
|
||||||
if (header_size < 0 || bc->size_in_bits < header_size << 3) {
|
if (header_size < 0 || bc->size_in_bits < header_size << 3) {
|
||||||
av_log(log, AV_LOG_ERROR, "packet too short, unable to read major sync\n");
|
av_log(log, AV_LOG_ERROR, "packet too short, unable to read major sync\n");
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue