From: Jean-Baptiste Kempf Date: Mon, 17 Dec 2007 08:51:15 +0000 (+0000) Subject: DShow, partial fix due to changes in [23667] X-Git-Tag: 0.9.0-test0~4041 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=6b632678cbb5b669a9094963037fcbec28dce3d2;p=vlc DShow, partial fix due to changes in [23667] --- diff --git a/modules/access/dshow/dshow.cpp b/modules/access/dshow/dshow.cpp index 74e6604f97..213dcaf5b5 100644 --- a/modules/access/dshow/dshow.cpp +++ b/modules/access/dshow/dshow.cpp @@ -1863,10 +1863,10 @@ static int FindDevicesCallback( vlc_object_t *p_this, char const *psz_name, if( !list_devices.size() ) return VLC_SUCCESS; p_item->ppsz_list = - (const char **)realloc( p_item->ppsz_list, + (char **)realloc( p_item->ppsz_list, (list_devices.size()+3) * sizeof(char *) ); 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::iterator iter;