From fbc7ad673aaf00dd82820474d44988f33c48b4f3 Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Fri, 29 Jun 2007 22:52:28 +0000 Subject: [PATCH] Fixed GET_ATTACHMENTS return value (Reported by Bernie Purcell). --- src/input/control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/control.c b/src/input/control.c index 551b8eb710..47d5335679 100644 --- a/src/input/control.c +++ b/src/input/control.c @@ -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 */ -- 2.39.5