[vlc-commits] input: fix typo in vlc_attachment_New()

Thomas Guillem git at videolan.org
Tue Aug 18 10:55:27 CEST 2015


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Aug 18 10:37:41 2015 +0200| [82381660fc91cb470563f3d17bc08bce38096832] | committer: Thomas Guillem

input: fix typo in vlc_attachment_New()

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=82381660fc91cb470563f3d17bc08bce38096832
---

 include/vlc_input.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/vlc_input.h b/include/vlc_input.h
index 06d64c7..bd7f129 100644
--- a/include/vlc_input.h
+++ b/include/vlc_input.h
@@ -196,7 +196,7 @@ static inline input_attachment_t *vlc_input_attachment_New( const char *psz_name
         memcpy( a->p_data, p_data, i_data );
 
     if( unlikely(a->psz_name == NULL || a->psz_mime == NULL
-              || a->psz_description || (i_data > 0 && a->p_data == NULL)) )
+              || a->psz_description == NULL || (i_data > 0 && a->p_data == NULL)) )
     {
         vlc_input_attachment_Delete( a );
         a = NULL;



More information about the vlc-commits mailing list