[vlc-devel] commit: Kill a few relocations ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon Nov 30 18:35:32 CET 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Nov 30 19:34:54 2009 +0200| [3e6dbf430e86cf474696df64cff174e3360b90ce] | committer: Rémi Denis-Courmont 

Kill a few relocations

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3e6dbf430e86cf474696df64cff174e3360b90ce
---

 modules/gui/qt4/components/sout/profiles.hpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/components/sout/profiles.hpp b/modules/gui/qt4/components/sout/profiles.hpp
index 51f1d32..67e8f95 100644
--- a/modules/gui/qt4/components/sout/profiles.hpp
+++ b/modules/gui/qt4/components/sout/profiles.hpp
@@ -1,7 +1,7 @@
 #define NB_PROFILE \
     (sizeof(video_profile_value_list)/sizeof(video_profile_value_list[0]))
 
-static const char *const video_profile_name_list[] = {
+static const char video_profile_name_list[][32] = {
     "Video - H.264 + AAC (TS)",
     "Video - Dirac + AAC (TS)",
     "Video - Theora + Vorbis (OGG)",
@@ -16,7 +16,7 @@ static const char *const video_profile_name_list[] = {
     "Audio - FLAC",
 };
 
-static const char *const video_profile_value_list[] = {
+static const char video_profile_value_list[][48] = {
     /* Container(string), transcode video(bool), transcode audio(bool), */
     /* use subtitles(bool), video codec(string), video bitrate(integer), */
     /* scale(float), fps(float), width(integer, height(integer), */




More information about the vlc-devel mailing list