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
0305cdac
Commit
0305cdac
authored
Mar 13, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert some errors in
85943656
and...
Revert some errors in
85943656
and
9630c00c
parent
6d9e92da
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
modules/access/smb.c
modules/access/smb.c
+4
-4
src/video_output/video_output.c
src/video_output/video_output.c
+2
-2
src/video_output/vout_intf.c
src/video_output/vout_intf.c
+1
-1
No files found.
modules/access/smb.c
View file @
0305cdac
...
...
@@ -188,11 +188,11 @@ static int Open( vlc_object_t *p_this )
* smb://[[[domain;]user[:password@]]server[/share[/path[/file]]]] */
if
(
!
psz_user
)
psz_user
=
var_CreateGetString
(
p_access
,
"smb-user"
);
if
(
!*
psz_user
)
{
free
(
psz_user
);
psz_user
=
0
;
}
if
(
psz_user
&&
!*
psz_user
)
{
free
(
psz_user
);
psz_user
=
0
;
}
if
(
!
psz_pwd
)
psz_pwd
=
var_CreateGetString
(
p_access
,
"smb-pwd"
);
if
(
!*
psz_pwd
)
{
free
(
psz_pwd
);
psz_pwd
=
0
;
}
if
(
!
psz_domain
)
psz_domain
=
var_CreateGetString
(
p_access
,
"smb-domain"
);
if
(
!*
psz_domain
)
{
free
(
psz_domain
);
psz_domain
=
0
;
}
if
(
psz_pwd
&&
!*
psz_pwd
)
{
free
(
psz_pwd
);
psz_pwd
=
0
;
}
if
(
!
psz_domain
)
psz_domain
=
var_CreateGetString
(
p_access
,
"smb-domain"
);
if
(
psz_domain
&&
!*
psz_domain
)
{
free
(
psz_domain
);
psz_domain
=
0
;
}
#ifdef WIN32
if
(
psz_user
)
...
...
src/video_output/video_output.c
View file @
0305cdac
...
...
@@ -177,12 +177,12 @@ vout_thread_t *__vout_Request( vlc_object_t *p_this, vout_thread_t *p_vout,
var_Get
(
p_vout
,
"vout-filter"
,
&
val
);
psz_filter_chain
=
val
.
psz_string
;
if
(
!*
psz_filter_chain
)
if
(
psz_filter_chain
&&
!*
psz_filter_chain
)
{
free
(
psz_filter_chain
);
psz_filter_chain
=
NULL
;
}
if
(
!*
p_vout
->
psz_filter_chain
)
if
(
p_vout
->
psz_filter_chain
&&
!*
p_vout
->
psz_filter_chain
)
{
free
(
p_vout
->
psz_filter_chain
);
p_vout
->
psz_filter_chain
=
NULL
;
...
...
src/video_output/vout_intf.c
View file @
0305cdac
...
...
@@ -481,7 +481,7 @@ int vout_Snapshot( vout_thread_t *p_vout, picture_t *p_pic )
memset
(
&
fmt_out
,
0
,
sizeof
(
video_format_t
)
);
var_Get
(
p_vout
,
"snapshot-path"
,
&
val
);
if
(
!*
val
.
psz_string
)
if
(
val
.
psz_string
&&
!*
val
.
psz_string
)
{
free
(
val
.
psz_string
);
val
.
psz_string
=
0
;
...
...
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