SVN commit 845283 by mueller: don't use c++ variable length arrays because they're not standardized M +2 -1 xinestream.cpp --- trunk/KDE/kdebase/runtime/phonon/xine/xinestream.cpp #845282:845283 @@ -25,6 +25,7 @@ #include #include #include +#include #include #include @@ -1034,7 +1035,7 @@ kDebug(610) << "taking snapshot of" << w << h; if (w > 0 && h > 0) { int width, height, ratio_code, format; - uint8_t img[w * h * 4]; + QVarLengthArray img(w * h * 4); int success = xine_get_current_frame (m_stream, &width, &height, &ratio_code, &format, &img[0]); if (!success) {