Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
450
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
e00191ec
Commit
e00191ec
authored
4 years ago
by
Gary Wang
Committed by
François Cartegnie
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
meta_engine: support id3v2.4 tag for id3 chapter markers
Signed-off-by:
Francois Cartegnie
<
fcvlcdev@free.fr
>
parent
57e67871
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/meta_engine/ID3Tag.h
+2
-2
2 additions, 2 deletions
modules/meta_engine/ID3Tag.h
with
2 additions
and
2 deletions
modules/meta_engine/ID3Tag.h
+
2
−
2
View file @
e00191ec
...
...
@@ -45,7 +45,7 @@ static size_t ID3TAG_Parse( const uint8_t *p_peek, size_t i_peek,
uint32_t
i_ID3size
=
0
;
if
(
i_peek
>
10
&&
ID3TAG_IsTag
(
p_peek
,
false
)
)
{
const
bool
b_syncsafe
=
p_peek
[
5
]
&
0x80
;
const
uint8_t
i_ID3major
=
p_peek
[
3
]
;
i_ID3size
=
ID3TAG_ReadSize
(
&
p_peek
[
6
],
true
);
if
(
i_ID3size
>
i_peek
-
10
)
return
0
;
...
...
@@ -54,7 +54,7 @@ static size_t ID3TAG_Parse( const uint8_t *p_peek, size_t i_peek,
while
(
i_ID3size
>
10
)
{
uint32_t
i_tagname
=
VLC_FOURCC
(
p_frame
[
0
],
p_frame
[
1
],
p_frame
[
2
],
p_frame
[
3
]
);
uint32_t
i_framesize
=
ID3TAG_ReadSize
(
&
p_frame
[
4
],
b_syncsafe
)
+
10
;
uint32_t
i_framesize
=
ID3TAG_ReadSize
(
&
p_frame
[
4
],
i_ID3major
!=
3
)
+
10
;
if
(
i_framesize
>
i_ID3size
)
return
0
;
...
...
This diff is collapsed.
Click to expand it.
Gary Wang
@BLumia
mentioned in issue
#7485 (closed)
·
4 years ago
mentioned in issue
#7485 (closed)
mentioned in issue #7485
Toggle commit list
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