Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
a9cfe158
Commit
a9cfe158
authored
Jul 01, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unsigned casts
parent
56c786eb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
modules/demux/aiff.c
modules/demux/aiff.c
+3
-2
modules/demux/mkv.cpp
modules/demux/mkv.cpp
+4
-2
No files found.
modules/demux/aiff.c
View file @
a9cfe158
...
...
@@ -158,7 +158,7 @@ static int Open( vlc_object_t *p_this )
}
p_sys
->
i_ssnd_pos
=
stream_Tell
(
p_demux
->
s
);
p_sys
->
i_ssnd_size
=
i_size
;
p_sys
->
i_ssnd_size
=
i_size
;
p_sys
->
i_ssnd_offset
=
GetDWBE
(
&
p_peek
[
8
]
);
p_sys
->
i_ssnd_blocksize
=
GetDWBE
(
&
p_peek
[
12
]
);
...
...
@@ -172,7 +172,8 @@ static int Open( vlc_object_t *p_this )
}
/* Skip this chunk */
if
(
stream_Read
(
p_demux
->
s
,
NULL
,
i_size
+
8
)
!=
i_size
+
8
)
i_size
+=
8
;
if
(
stream_Read
(
p_demux
->
s
,
NULL
,
i_size
)
!=
(
int
)
i_size
)
{
msg_Warn
(
p_demux
,
"incomplete file"
);
goto
error
;
...
...
modules/demux/mkv.cpp
View file @
a9cfe158
...
...
@@ -2572,8 +2572,10 @@ int demux_sys_t::EventThread( vlc_object_t *p_this )
{
btni_t
*
button_ptr
=
&
(
pci
->
hli
.
btnit
[
button
-
1
]);
if
((
valx
.
i_int
>=
button_ptr
->
x_start
)
&&
(
valx
.
i_int
<=
button_ptr
->
x_end
)
&&
(
valy
.
i_int
>=
button_ptr
->
y_start
)
&&
(
valy
.
i_int
<=
button_ptr
->
y_end
))
if
(((
unsigned
)
valx
.
i_int
>=
button_ptr
->
x_start
)
&&
((
unsigned
)
valx
.
i_int
<=
button_ptr
->
x_end
)
&&
((
unsigned
)
valy
.
i_int
>=
button_ptr
->
y_start
)
&&
((
unsigned
)
valy
.
i_int
<=
button_ptr
->
y_end
))
{
mx
=
(
button_ptr
->
x_start
+
button_ptr
->
x_end
)
/
2
;
my
=
(
button_ptr
->
y_start
+
button_ptr
->
y_end
)
/
2
;
...
...
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