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

git version control git at videolan.org
Thu Jun 18 10:25:28 CEST 2009


vlc | branch: 1.0-bugfix | Rémi Duraffort <ivoire at videolan.org> | Thu Jun 18 09:58:41 2009 +0200| [c301e33f75a253ffa720e2aa23e86318e170c70a] | committer: Rémi Duraffort 

add_integer wants integers.
(cherry picked from commit 1d698d0f3f9c5d08156c1d20f1bd2e3e61cd9a36)

Signed-off-by: Rémi Duraffort <ivoire at videolan.org>

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

 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 e8490b7..ee9d293 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