Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
cea7fd9a
Commit
cea7fd9a
authored
7 years ago
by
Vittorio Giovara
Browse files
Options
Downloads
Patches
Plain Diff
mlp: Drop ff_ prefix from a static function
parent
1f6e5dd4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavcodec/mlp_parser.c
+2
-2
2 additions, 2 deletions
libavcodec/mlp_parser.c
with
2 additions
and
2 deletions
libavcodec/mlp_parser.c
+
2
−
2
View file @
cea7fd9a
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment