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
5eb12a5c
Commit
5eb12a5c
authored
Apr 04, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
if( A == NULL || EMPTY_STR( A ) ) => if( EMPTY_STR( A ) )
parent
05d386b4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
modules/misc/notify/growl.m
modules/misc/notify/growl.m
+2
-2
modules/misc/notify/growl_udp.c
modules/misc/notify/growl_udp.c
+2
-2
modules/misc/notify/notify.c
modules/misc/notify/notify.c
+2
-2
No files found.
modules/misc/notify/growl.m
View file @
5eb12a5c
...
...
@@ -181,11 +181,11 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
input_item_t *p_item = input_GetItem( p_input );
psz_title = input_item_GetTitle( p_item );
if(
psz_title == NULL ||
EMPTY_STR( psz_title ) )
if( EMPTY_STR( psz_title ) )
{
free( psz_title );
psz_title = input_item_GetName( input_GetItem( p_input ) );
if(
psz_title == NULL ||
EMPTY_STR( psz_title ) )
if( EMPTY_STR( psz_title ) )
{
free( psz_title );
vlc_object_release( p_input );
...
...
modules/misc/notify/growl_udp.c
View file @
5eb12a5c
...
...
@@ -143,11 +143,11 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
input_item_t
*
p_item
=
input_GetItem
(
p_input
);
psz_title
=
input_item_GetTitle
(
p_item
);
if
(
psz_title
==
NULL
||
EMPTY_STR
(
psz_title
)
)
if
(
EMPTY_STR
(
psz_title
)
)
{
free
(
psz_title
);
psz_title
=
input_item_GetName
(
input_GetItem
(
p_input
)
);
if
(
psz_title
==
NULL
||
EMPTY_STR
(
psz_title
)
)
if
(
EMPTY_STR
(
psz_title
)
)
{
free
(
psz_title
);
vlc_object_release
(
p_input
);
...
...
modules/misc/notify/notify.c
View file @
5eb12a5c
...
...
@@ -183,12 +183,12 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
psz_artist
=
input_item_GetArtist
(
p_input_item
);
psz_album
=
input_item_GetAlbum
(
p_input_item
);
psz_title
=
input_item_GetTitle
(
p_input_item
);
if
(
(
psz_title
==
NULL
)
||
EMPTY_STR
(
psz_title
)
)
if
(
EMPTY_STR
(
psz_title
)
)
{
free
(
psz_title
);
psz_title
=
input_item_GetName
(
p_input_item
);
}
if
(
(
psz_title
==
NULL
)
||
EMPTY_STR
(
psz_title
)
)
if
(
EMPTY_STR
(
psz_title
)
)
{
/* Not enough metadata ... */
free
(
psz_title
);
free
(
psz_artist
);
...
...
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