Skip to content
Snippets Groups Projects
Commit cea7fd9a authored by Vittorio Giovara's avatar Vittorio Giovara
Browse files

mlp: Drop ff_ prefix from a static function

parent 1f6e5dd4
No related branches found
No related tags found
No related merge requests found
...@@ -120,7 +120,7 @@ static uint64_t truehd_layout(int chanmap) ...@@ -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) ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment