Commit 6b632678 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

DShow, partial fix due to changes in [23667]

parent c00cfde5
...@@ -1863,10 +1863,10 @@ static int FindDevicesCallback( vlc_object_t *p_this, char const *psz_name, ...@@ -1863,10 +1863,10 @@ static int FindDevicesCallback( vlc_object_t *p_this, char const *psz_name,
if( !list_devices.size() ) return VLC_SUCCESS; if( !list_devices.size() ) return VLC_SUCCESS;
p_item->ppsz_list = p_item->ppsz_list =
(const char **)realloc( p_item->ppsz_list, (char **)realloc( p_item->ppsz_list,
(list_devices.size()+3) * sizeof(char *) ); (list_devices.size()+3) * sizeof(char *) );
p_item->ppsz_list_text = p_item->ppsz_list_text =
(const char **)realloc( p_item->ppsz_list_text, (char **)realloc( p_item->ppsz_list_text,
(list_devices.size()+3) * sizeof(char *) ); (list_devices.size()+3) * sizeof(char *) );
list<string>::iterator iter; list<string>::iterator iter;
......
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