[vlc-devel] commit: add_integer wants integers. ( Rémi Duraffort )

git version control git at videolan.org
Thu Jun 18 10:01:17 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Jun 18 09:58:41 2009 +0200| [1d698d0f3f9c5d08156c1d20f1bd2e3e61cd9a36] | committer: Rémi Duraffort 

add_integer wants integers.

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

 modules/codec/invmem.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/codec/invmem.c b/modules/codec/invmem.c
index c63947c..0fede71 100644
--- a/modules/codec/invmem.c
+++ b/modules/codec/invmem.c
@@ -83,8 +83,8 @@ vlc_module_begin()
     set_callbacks( OpenDecoder, CloseDecoder )
     add_shortcut( "invmem" )
 
-    add_integer( "invmem-width", "0", NULL, T_WIDTH, LT_WIDTH, false )
-    add_integer( "invmem-height", "0", NULL, T_HEIGHT, LT_HEIGHT, false )
+    add_integer( "invmem-width", 0, NULL, T_WIDTH, LT_WIDTH, false )
+    add_integer( "invmem-height", 0, NULL, T_HEIGHT, LT_HEIGHT, false )
     add_string( "invmem-lock", "0", NULL, T_LOCK, LT_LOCK, true )
     add_string( "invmem-unlock", "0", NULL, T_UNLOCK, LT_UNLOCK, true )
     add_string( "invmem-data", "0", NULL, T_DATA, LT_DATA, true )




More information about the vlc-devel mailing list