aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-10-30 16:51:20 -0300
committerJames Almer <jamrial@gmail.com>2017-10-30 16:51:20 -0300
commit1242a6170e93351b519a0b92861654d5ff14d8dc (patch)
tree58f7728a563bdab27f10a0fd9da1a2be12fd2710
parent8b63acaeee246a9f8c72a2dc4c2074016ed91ffb (diff)
parentcea7fd9afb8488a6c48f7d7ee38602e1fd3dd425 (diff)
downloadffmpeg-1242a6170e93351b519a0b92861654d5ff14d8dc.tar.gz
Merge commit 'cea7fd9afb8488a6c48f7d7ee38602e1fd3dd425'
* commit 'cea7fd9afb8488a6c48f7d7ee38602e1fd3dd425': mlp: Drop ff_ prefix from a static function Merged-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavcodec/mlp_parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mlp_parser.c b/libavcodec/mlp_parser.c
index 23601c8633..d131106cfc 100644
--- a/libavcodec/mlp_parser.c
+++ b/libavcodec/mlp_parser.c
@@ -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;