Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
2227a864
Commit
2227a864
authored
Dec 05, 2009
by
JP Dinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Obligatory win32 compile fixes.
parent
59b025e3
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
18 additions
and
8 deletions
+18
-8
modules/access/dshow/dshow.cpp
modules/access/dshow/dshow.cpp
+5
-4
modules/access/mms/mmstu.c
modules/access/mms/mmstu.c
+1
-0
modules/codec/dvbsub.c
modules/codec/dvbsub.c
+2
-0
modules/codec/flac.c
modules/codec/flac.c
+1
-1
modules/demux/mkv/chapters.cpp
modules/demux/mkv/chapters.cpp
+1
-1
modules/demux/mkv/matroska_segment.cpp
modules/demux/mkv/matroska_segment.cpp
+2
-2
modules/demux/nuv.c
modules/demux/nuv.c
+2
-0
modules/demux/subtitle.c
modules/demux/subtitle.c
+2
-0
modules/video_output/msw/directx.c
modules/video_output/msw/directx.c
+2
-0
No files found.
modules/access/dshow/dshow.cpp
View file @
2227a864
...
...
@@ -1104,8 +1104,9 @@ static int OpenDevice( vlc_object_t *p_this, access_sys_t *p_sys,
dshow_stream
.
p_device_filter
=
p_device_filter
;
dshow_stream
.
p_capture_filter
=
p_capture_filter
;
p_sys
->
pp_streams
=
realloc_or_free
(
p_sys
->
pp_streams
,
sizeof
(
dshow_stream_t
*
)
*
(
p_sys
->
i_streams
+
1
)
);
p_sys
->
pp_streams
=
(
dshow_stream_t
**
)
realloc_or_free
(
p_sys
->
pp_streams
,
sizeof
(
dshow_stream_t
*
)
*
(
p_sys
->
i_streams
+
1
)
);
assert
(
p_sys
->
pp_streams
);
p_sys
->
pp_streams
[
p_sys
->
i_streams
]
=
new
dshow_stream_t
;
*
p_sys
->
pp_streams
[
p_sys
->
i_streams
++
]
=
dshow_stream
;
...
...
@@ -1967,10 +1968,10 @@ static int FindDevicesCallback( vlc_object_t *p_this, char const *psz_name,
if
(
!
list_devices
.
size
()
)
return
VLC_SUCCESS
;
p_item
->
ppsz_list
=
realloc_or_free
(
p_item
->
ppsz_list
,
p_item
->
ppsz_list
=
(
char
**
)
realloc_or_free
(
p_item
->
ppsz_list
,
(
list_devices
.
size
()
+
3
)
*
sizeof
(
char
*
)
);
assert
(
p_item
->
ppsz_list
);
p_item
->
ppsz_list_text
=
realloc_or_free
(
p_item
->
ppsz_list_text
,
p_item
->
ppsz_list_text
=
(
char
**
)
realloc_or_free
(
p_item
->
ppsz_list_text
,
(
list_devices
.
size
()
+
3
)
*
sizeof
(
char
*
)
);
assert
(
p_item
->
ppsz_list_text
);
...
...
modules/access/mms/mmstu.c
View file @
2227a864
...
...
@@ -31,6 +31,7 @@
#include <vlc_common.h>
#include <vlc_access.h>
#include <vlc_memory.h>
#include <errno.h>
#include <assert.h>
...
...
modules/codec/dvbsub.c
View file @
2227a864
...
...
@@ -71,6 +71,8 @@
# include "config.h"
#endif
#include <assert.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_codec.h>
...
...
modules/codec/flac.c
View file @
2227a864
...
...
@@ -367,7 +367,7 @@ static void ProcessHeader( decoder_t *p_dec )
p_dec
->
fmt_out
.
i_extra
=
p_dec
->
fmt_in
.
i_extra
;
p_dec
->
fmt_out
.
p_extra
=
realloc_or_free
(
p_dec
->
fmt_out
.
p_extra
,
p_dec
->
fmt_out
.
i_extra
);
assert
(
p_dec
->
fmt_out
.
p_extra
);
/*assert( p_dec->fmt_out.p_extra ); assert undefined here? */
memcpy
(
p_dec
->
fmt_out
.
p_extra
,
p_dec
->
fmt_in
.
p_extra
,
p_dec
->
fmt_out
.
i_extra
);
}
...
...
modules/demux/mkv/chapters.cpp
View file @
2227a864
...
...
@@ -65,7 +65,7 @@ int chapter_item_c::PublishChapters( input_title_t & title, int & i_user_chapter
// A start time of '0' is ok. A missing ChapterTime element is ok, too, because '0' is its default value.
title
.
i_seekpoint
++
;
title
.
seekpoint
=
realloc_or_free
(
title
.
seekpoint
,
title
.
seekpoint
=
(
seekpoint_t
**
)
realloc_or_free
(
title
.
seekpoint
,
title
.
i_seekpoint
*
sizeof
(
seekpoint_t
*
)
);
assert
(
title
.
seekpoint
);
title
.
seekpoint
[
title
.
i_seekpoint
-
1
]
=
sk
;
...
...
modules/demux/mkv/matroska_segment.cpp
View file @
2227a864
...
...
@@ -182,7 +182,7 @@ void matroska_segment_c::LoadCues( KaxCues *cues )
if
(
i_index
>=
i_index_max
)
{
i_index_max
+=
1024
;
p_indexes
=
realloc_or_free
(
p_indexes
,
p_indexes
=
(
mkv_index_t
*
)
realloc_or_free
(
p_indexes
,
sizeof
(
mkv_index_t
)
*
i_index_max
);
assert
(
p_indexes
);
}
...
...
@@ -377,7 +377,7 @@ void matroska_segment_c::IndexAppendCluster( KaxCluster *cluster )
if
(
i_index
>=
i_index_max
)
{
i_index_max
+=
1024
;
p_indexes
=
realloc_or_free
(
p_indexes
,
p_indexes
=
(
mkv_index_t
*
)
realloc_or_free
(
p_indexes
,
sizeof
(
mkv_index_t
)
*
i_index_max
);
assert
(
p_indexes
);
}
...
...
modules/demux/nuv.c
View file @
2227a864
...
...
@@ -29,6 +29,8 @@
# include "config.h"
#endif
#include <assert.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_demux.h>
...
...
modules/demux/subtitle.c
View file @
2227a864
...
...
@@ -31,6 +31,8 @@
# include "config.h"
#endif
#include <assert.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_input.h>
...
...
modules/video_output/msw/directx.c
View file @
2227a864
...
...
@@ -38,6 +38,8 @@
# include "config.h"
#endif
#include <assert.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_vout.h>
...
...
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