Commit fbc7ad67 authored by Laurent Aimar's avatar Laurent Aimar

Fixed GET_ATTACHMENTS return value (Reported by Bernie Purcell).

parent f25e9262
...@@ -566,7 +566,7 @@ int input_vaControl( input_thread_t *p_input, int i_query, va_list args ) ...@@ -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] ); (*ppp_attachment)[i] = vlc_input_attachment_Duplicate( p_input->p->attachment[i] );
vlc_mutex_unlock( &p_input->p->input.p_item->lock ); 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 */ case INPUT_GET_ATTACHMENT: /* arg1=input_attachment_t**, arg2=char* res=can fail */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment