Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
520eaf2f
Commit
520eaf2f
authored
Dec 12, 2008
by
ivoire
Browse files
realrtsp: initialize *all* the array
parent
a69589d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/access/rtsp/real_sdpplin.c
View file @
520eaf2f
...
...
@@ -36,18 +36,18 @@ static char *b64_decode(const char *in, char *out, int *size) {
int
i
,
k
;
unsigned
int
j
;
for
(
i
=
0
;
i
<
25
5
;
i
++
)
{
for
(
i
=
0
;
i
<
25
6
;
i
++
)
dtable
[
i
]
=
0x80
;
}
for
(
i
=
'A'
;
i
<=
'Z'
;
i
++
)
{
for
(
i
=
'A'
;
i
<=
'Z'
;
i
++
)
dtable
[
i
]
=
0
+
(
i
-
'A'
);
}
for
(
i
=
'a'
;
i
<=
'z'
;
i
++
)
{
for
(
i
=
'a'
;
i
<=
'z'
;
i
++
)
dtable
[
i
]
=
26
+
(
i
-
'a'
);
}
for
(
i
=
'0'
;
i
<=
'9'
;
i
++
)
{
for
(
i
=
'0'
;
i
<=
'9'
;
i
++
)
dtable
[
i
]
=
52
+
(
i
-
'0'
);
}
dtable
[
'+'
]
=
62
;
dtable
[
'/'
]
=
63
;
dtable
[
'='
]
=
0
;
...
...
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