From 10ca137b817c23aec0e2113dea223a74c147bde9 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Fri, 28 Feb 2003 15:47:52 +0000 Subject: do not truncate the last character of the reference CVS patchset: 4305 CVS date: 2003/02/28 15:47:52 --- src/demuxers/demux_real.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/demuxers/demux_real.c b/src/demuxers/demux_real.c index 18712743a..9b6f4ce85 100644 --- a/src/demuxers/demux_real.c +++ b/src/demuxers/demux_real.c @@ -28,7 +28,7 @@ * * Based on FFmpeg's libav/rm.c. * - * $Id: demux_real.c,v 1.43 2003/02/22 16:46:49 esnel Exp $ + * $Id: demux_real.c,v 1.44 2003/02/28 15:47:52 mroi Exp $ */ #ifdef HAVE_CONFIG_H @@ -649,7 +649,6 @@ static int demux_real_parse_references( demux_real_t *this) { if( !strncmp(&buf[i],"pnm://",6) || !strncmp(&buf[i],"rtsp://",7) ) { for(j=i; buf[j] && buf[j] != '"' && !isspace(buf[j]); j++ ) ; - j--; buf[j]='\0'; uevent.type = XINE_EVENT_MRL_REFERENCE; -- cgit v1.2.3