[FFmpeg-soc] [soc]: r4794 - concat/libavformat/playlist.c

gkovacs subversion at mplayerhq.hu
Fri Jul 24 01:14:48 CEST 2009


Author: gkovacs
Date: Fri Jul 24 01:14:48 2009
New Revision: 4794

Log:
no need to explicitly convert to absolute paths in ff_playlist_from_encodedstring

Modified:
   concat/libavformat/playlist.c

Modified: concat/libavformat/playlist.c
==============================================================================
--- concat/libavformat/playlist.c	Fri Jul 24 01:08:31 2009	(r4793)
+++ concat/libavformat/playlist.c	Fri Jul 24 01:14:48 2009	(r4794)
@@ -127,9 +127,6 @@ PlaylistContext *ff_playlist_from_encode
     PlaylistContext *ctx;
     char **flist;
     int i, len;
-    char workingdir[1024];
-    getcwd(workingdir, 1024);
-    workingdir[1023] = 0;
     ff_playlist_split_encodedstring(s, sep, &flist, &len);
     if (len <= 1) {
         for (i = 0; i < len; ++i)
@@ -138,7 +135,6 @@ PlaylistContext *ff_playlist_from_encode
         return NULL;
     }
     ctx = av_mallocz(sizeof(*ctx));
-    ff_playlist_relative_paths(flist, len, workingdir);
     for (i = 0; i < len; ++i)
         ff_playlist_add_path(ctx, flist[i]);
     return ctx;


More information about the FFmpeg-soc mailing list