From e8cb811d00abe2b31e1e6591da9e3c13799228eb Mon Sep 17 00:00:00 2001 From: ddennedy Date: Fri, 24 Oct 2008 22:56:25 +0000 Subject: [PATCH] producer_framebuffer.c: a little cleanup from last commit git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1201 d19143bc-622f-0410-bfdd-b5b2a6649095 --- src/modules/kdenlive/producer_framebuffer.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/kdenlive/producer_framebuffer.c b/src/modules/kdenlive/producer_framebuffer.c index fa0ac0f..d028eaa 100644 --- a/src/modules/kdenlive/producer_framebuffer.c +++ b/src/modules/kdenlive/producer_framebuffer.c @@ -224,11 +224,11 @@ mlt_producer producer_framebuffer_init( mlt_profile profile, mlt_service_type ty if ( ptr ) { - speed = atof( ++ptr ); + speed = atof( ptr + 1 ); if ( speed != 0.0 ) // If speed was valid, then strip it and the delimiter. // Otherwise, an invalid speed probably means this '?' was not a delimiter. - *(--ptr) = '\0'; + *ptr = '\0'; } real_producer = mlt_factory_producer( profile, "fezzik", props ); -- 1.7.4.4