[vlc-commits] video output: remove a bunch of relocations

Rémi Denis-Courmont git at videolan.org
Thu Jun 28 06:50:08 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jun 28 07:49:03 2012 +0300| [321012f52b7fbd1b13a8d7c862e4cab66350e67d] | committer: Rémi Denis-Courmont

video output: remove a bunch of relocations

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

 src/video_output/vout_intf.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/video_output/vout_intf.c b/src/video_output/vout_intf.c
index 2bc3fd9..00f0ee0 100644
--- a/src/video_output/vout_intf.c
+++ b/src/video_output/vout_intf.c
@@ -78,7 +78,7 @@ static int SubMarginCallback( vlc_object_t *, char const *,
 static const struct
 {
     double f_value;
-    const char *psz_label;
+    char psz_label[13];
 } p_zoom_values[] = {
     { 0.25, N_("1:4 Quarter") },
     { 0.5, N_("1:2 Half") },
@@ -88,8 +88,8 @@ static const struct
 
 static const struct
 {
-    const char *psz_value;
-    const char *psz_label;
+    char psz_value[8];
+    char psz_label[8];
 } p_crop_values[] = {
     { "", N_("Default") },
     { "16:10", "16:10" },
@@ -106,8 +106,8 @@ static const struct
 
 static const struct
 {
-    const char *psz_value;
-    const char *psz_label;
+    char psz_value[8];
+    char psz_label[8];
 } p_aspect_ratio_values[] = {
     { "", N_("Default") },
     { "1:1", "1:1" },



More information about the vlc-commits mailing list