]> git.sesse.net Git - vlc/commitdiff
DShow, partial fix due to changes in [23667]
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 17 Dec 2007 08:51:15 +0000 (08:51 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 17 Dec 2007 08:51:15 +0000 (08:51 +0000)
modules/access/dshow/dshow.cpp

index 74e6604f97ee79316a57627da42dd63e80e339a3..213dcaf5b5b59114cf0d9720c087b3870926ba34 100644 (file)
@@ -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<string>::iterator iter;