Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
90a27edc
Commit
90a27edc
authored
Aug 09, 2005
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compiler warning about unused variables
parent
67429eaf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
modules/demux/livedotcom.cpp
modules/demux/livedotcom.cpp
+12
-7
No files found.
modules/demux/livedotcom.cpp
View file @
90a27edc
...
...
@@ -174,8 +174,10 @@ static void StreamRead( void *, unsigned int, unsigned int,
static
void
StreamClose
(
void
*
);
static
void
TaskInterrupt
(
void
*
);
#if LIVEMEDIA_LIBRARY_VERSION_INT >= 1117756800
static
unsigned
char
*
parseH264ConfigStr
(
char
const
*
configStr
,
unsigned
&
configSize
);
unsigned
int
&
configSize
);
#endif
/*****************************************************************************
* DemuxOpen:
...
...
@@ -515,9 +517,10 @@ static int Open ( vlc_object_t *p_this )
}
else
if
(
!
strcmp
(
sub
->
codecName
(),
"H264"
)
)
{
unsigned
int
i_extra
;
uint8_t
*
p_extra
;
#if LIVEMEDIA_LIBRARY_VERSION_INT >= 1117756800
unsigned
int
i_extra
=
0
;
uint8_t
*
p_extra
=
NULL
;
#endif
tk
->
fmt
.
i_codec
=
VLC_FOURCC
(
'H'
,
'2'
,
'6'
,
'4'
);
tk
->
fmt
.
b_packetized
=
VLC_FALSE
;
...
...
@@ -1322,11 +1325,13 @@ static int ParseASF( demux_t *p_demux )
return
VLC_SUCCESS
;
}
#if LIVEMEDIA_LIBRARY_VERSION_INT >= 1117756800
static
unsigned
char
*
parseH264ConfigStr
(
char
const
*
configStr
,
unsigned
&
configSize
)
unsigned
int
&
configSize
)
{
char
*
dup
,
*
psz
;
if
(
configSize
)
configSize
=
0
;
if
(
configStr
==
NULL
||
*
configStr
==
'\0'
)
...
...
@@ -1352,10 +1357,10 @@ static unsigned char* parseH264ConfigStr( char const* configStr,
psz
=
p
;
}
free
(
dup
);
if
(
dup
)
free
(
dup
);
return
cfg
;
}
#endif
/*char b64[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";*/
static
int
b64_decode
(
char
*
dest
,
char
*
src
)
...
...
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