]> git.sesse.net Git - vlc/commitdiff
Fixed GET_ATTACHMENTS return value (Reported by Bernie Purcell).
authorLaurent Aimar <fenrir@videolan.org>
Fri, 29 Jun 2007 22:52:28 +0000 (22:52 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Fri, 29 Jun 2007 22:52:28 +0000 (22:52 +0000)
src/input/control.c

index 551b8eb710b5abd312881bffdd82ba8b19dfe79b..47d5335679783395edcf8f2ecf8a40ce03af10f9 100644 (file)
@@ -566,7 +566,7 @@ int input_vaControl( input_thread_t *p_input, int i_query, va_list args )
                 (*ppp_attachment)[i] = vlc_input_attachment_Duplicate( p_input->p->attachment[i] );
 
             vlc_mutex_unlock( &p_input->p->input.p_item->lock );
-            return VLC_EGENERIC;
+            return VLC_SUCCESS;
         }
 
         case INPUT_GET_ATTACHMENT:  /* arg1=input_attachment_t**, arg2=char*  res=can fail */