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
9197bd58
Commit
9197bd58
authored
May 20, 2006
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compiler warnings
parent
58192ba5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
src/video_output/vout_intf.c
src/video_output/vout_intf.c
+5
-3
No files found.
src/video_output/vout_intf.c
View file @
9197bd58
...
@@ -806,7 +806,7 @@ static int CropCallback( vlc_object_t *p_this, char const *psz_cmd,
...
@@ -806,7 +806,7 @@ static int CropCallback( vlc_object_t *p_this, char const *psz_cmd,
if
(
!
strcmp
(
psz_cmd
,
"crop"
)
)
if
(
!
strcmp
(
psz_cmd
,
"crop"
)
)
{
{
char
*
psz_end
,
*
psz_parser
=
strchr
(
newval
.
psz_string
,
':'
);
char
*
psz_end
=
NULL
,
*
psz_parser
=
strchr
(
newval
.
psz_string
,
':'
);
if
(
psz_parser
)
if
(
psz_parser
)
{
{
/* We're using the 3:4 syntax */
/* We're using the 3:4 syntax */
...
@@ -853,7 +853,8 @@ static int CropCallback( vlc_object_t *p_this, char const *psz_cmd,
...
@@ -853,7 +853,8 @@ static int CropCallback( vlc_object_t *p_this, char const *psz_cmd,
i_crop_left
=
strtol
(
psz_end
,
&
psz_end
,
10
);
i_crop_left
=
strtol
(
psz_end
,
&
psz_end
,
10
);
if
(
psz_end
!=
psz_parser
)
goto
crop_end
;
if
(
psz_end
!=
psz_parser
)
goto
crop_end
;
i_crop_top
=
strtol
(
++
psz_end
,
&
psz_end
,
10
);
psz_end
++
;
i_crop_top
=
strtol
(
psz_end
,
&
psz_end
,
10
);
if
(
*
psz_end
!=
'\0'
)
goto
crop_end
;
if
(
*
psz_end
!=
'\0'
)
goto
crop_end
;
i_width
=
i_crop_width
;
i_width
=
i_crop_width
;
...
@@ -882,7 +883,8 @@ static int CropCallback( vlc_object_t *p_this, char const *psz_cmd,
...
@@ -882,7 +883,8 @@ static int CropCallback( vlc_object_t *p_this, char const *psz_cmd,
i_crop_right
=
strtol
(
psz_end
,
&
psz_end
,
10
);
i_crop_right
=
strtol
(
psz_end
,
&
psz_end
,
10
);
if
(
psz_end
!=
psz_parser
)
goto
crop_end
;
if
(
psz_end
!=
psz_parser
)
goto
crop_end
;
i_crop_bottom
=
strtol
(
++
psz_end
,
&
psz_end
,
10
);
psz_end
++
;
i_crop_bottom
=
strtol
(
psz_end
,
&
psz_end
,
10
);
if
(
*
psz_end
!=
'\0'
)
goto
crop_end
;
if
(
*
psz_end
!=
'\0'
)
goto
crop_end
;
i_width
=
p_vout
->
fmt_render
.
i_visible_width
i_width
=
p_vout
->
fmt_render
.
i_visible_width
...
...
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