mirror of
https://code.videolan.org/videolan/vlc
synced 2024-08-27 04:21:53 +02:00
Retaining NULL makes no sense
This commit is contained in:
parent
2fa0b5fa1a
commit
f3b630e51c
@ -413,9 +413,7 @@ void libvlc_media_release( libvlc_media_t *p_md )
|
||||
**************************************************************************/
|
||||
void libvlc_media_retain( libvlc_media_t *p_md )
|
||||
{
|
||||
if (!p_md)
|
||||
return;
|
||||
|
||||
assert (p_md);
|
||||
p_md->i_refcount++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user