Commit 1242a617 authored by James Almer's avatar James Almer

Merge commit 'cea7fd9a'

* commit 'cea7fd9a':
  mlp: Drop ff_ prefix from a static function
Merged-by: 's avatarJames Almer <jamrial@gmail.com>
parents 8b63acae cea7fd9a
......@@ -119,7 +119,7 @@ uint64_t ff_truehd_layout(int chanmap)
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 size = 28;
......@@ -149,7 +149,7 @@ int ff_mlp_read_major_sync(void *log, MLPHeaderInfo *mh, GetBitContext *gb)
av_assert1(get_bits_count(gb) == 0);
header_size = ff_mlp_get_major_sync_size(gb->buffer, gb->size_in_bits >> 3);
header_size = mlp_get_major_sync_size(gb->buffer, gb->size_in_bits >> 3);
if (header_size < 0 || gb->size_in_bits < header_size << 3) {
av_log(log, AV_LOG_ERROR, "packet too short, unable to read major sync\n");
return -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment