Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
49af7dbf
Commit
49af7dbf
authored
May 20, 2006
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compare using the right data types
parent
5b8844d0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/demux/ogg.c
modules/demux/ogg.c
+2
-2
No files found.
modules/demux/ogg.c
View file @
49af7dbf
...
@@ -1360,12 +1360,12 @@ static void Ogg_ReadAnnodexHeader( vlc_object_t *p_this,
...
@@ -1360,12 +1360,12 @@ static void Ogg_ReadAnnodexHeader( vlc_object_t *p_this,
/* we are guaranteed that the first header field will be
/* we are guaranteed that the first header field will be
* the content-type (by the Annodex standard) */
* the content-type (by the Annodex standard) */
content_type_string
[
0
]
=
'\0'
;
content_type_string
[
0
]
=
'\0'
;
if
(
!
strncasecmp
(
&
p_oggpacket
->
packet
[
28
]
,
"Content-Type: "
,
14
)
)
if
(
!
strncasecmp
(
(
char
*
)(
&
p_oggpacket
->
packet
[
28
])
,
"Content-Type: "
,
14
)
)
{
{
uint8_t
*
p
=
memchr
(
&
p_oggpacket
->
packet
[
42
],
'\r'
,
uint8_t
*
p
=
memchr
(
&
p_oggpacket
->
packet
[
42
],
'\r'
,
p_oggpacket
->
bytes
-
1
);
p_oggpacket
->
bytes
-
1
);
if
(
p
&&
p
[
0
]
==
'\r'
&&
p
[
1
]
==
'\n'
)
if
(
p
&&
p
[
0
]
==
'\r'
&&
p
[
1
]
==
'\n'
)
sscanf
(
&
p_oggpacket
->
packet
[
42
]
,
"%1024s
\r\n
"
,
sscanf
(
(
char
*
)(
&
p_oggpacket
->
packet
[
42
])
,
"%1024s
\r\n
"
,
content_type_string
);
content_type_string
);
}
}
...
...
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