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
d30de10d
Commit
d30de10d
authored
Jan 13, 2007
by
Damien Fouilleul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
live555: hmmm, that BITMAPINFOHEADER is only useful on mplayer, not vlc
parent
c6c38ccd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
modules/demux/live555.cpp
modules/demux/live555.cpp
+1
-2
No files found.
modules/demux/live555.cpp
View file @
d30de10d
...
@@ -29,7 +29,6 @@
...
@@ -29,7 +29,6 @@
#include <stdlib.h>
/* malloc(), free() */
#include <stdlib.h>
/* malloc(), free() */
#include <string.h>
#include <string.h>
#include <vlc_codecs.h>
#include <vlc_demux.h>
#include <vlc_demux.h>
#include <vlc_interface.h>
#include <vlc_interface.h>
#include <vlc_network.h>
#include <vlc_network.h>
...
@@ -1352,7 +1351,7 @@ static void StreamRead( void *p_private, unsigned int i_size,
...
@@ -1352,7 +1351,7 @@ static void StreamRead( void *p_private, unsigned int i_size,
if
(
atomLength
==
0
||
atomLength
>
endpos
-
pos
)
break
;
if
(
atomLength
==
0
||
atomLength
>
endpos
-
pos
)
break
;
if
(
memcmp
(
pos
+
4
,
"avcC"
,
4
)
==
0
&&
if
(
memcmp
(
pos
+
4
,
"avcC"
,
4
)
==
0
&&
atomLength
>
8
&&
atomLength
>
8
&&
atomLength
<=
INT_MAX
-
sizeof
(
BITMAPINFOHEADER
)
)
atomLength
<=
INT_MAX
)
{
{
tk
->
fmt
.
i_extra
=
atomLength
-
8
;
tk
->
fmt
.
i_extra
=
atomLength
-
8
;
tk
->
fmt
.
p_extra
=
malloc
(
tk
->
fmt
.
i_extra
);
tk
->
fmt
.
p_extra
=
malloc
(
tk
->
fmt
.
i_extra
);
...
...
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