Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
279b2a4d
Commit
279b2a4d
authored
Oct 24, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/mp3dec: also accept Lavc as shortname to read delays
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
2dbee1a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
mp3dec.c
libavformat/mp3dec.c
+3
-1
No files found.
libavformat/mp3dec.c
View file @
279b2a4d
...
@@ -215,7 +215,9 @@ static void mp3_parse_info_tag(AVFormatContext *s, AVStream *st,
...
@@ -215,7 +215,9 @@ static void mp3_parse_info_tag(AVFormatContext *s, AVStream *st,
/* Encoder delays */
/* Encoder delays */
v
=
avio_rb24
(
s
->
pb
);
v
=
avio_rb24
(
s
->
pb
);
if
(
AV_RB32
(
version
)
==
MKBETAG
(
'L'
,
'A'
,
'M'
,
'E'
)
if
(
AV_RB32
(
version
)
==
MKBETAG
(
'L'
,
'A'
,
'M'
,
'E'
)
||
AV_RB32
(
version
)
==
MKBETAG
(
'L'
,
'a'
,
'v'
,
'f'
))
{
||
AV_RB32
(
version
)
==
MKBETAG
(
'L'
,
'a'
,
'v'
,
'f'
)
||
AV_RB32
(
version
)
==
MKBETAG
(
'L'
,
'a'
,
'v'
,
'c'
)
)
{
mp3
->
start_pad
=
v
>>
12
;
mp3
->
start_pad
=
v
>>
12
;
mp3
->
end_pad
=
v
&
4095
;
mp3
->
end_pad
=
v
&
4095
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment