[FFmpeg-soc] [soc]: r4638 - in concat/libavformat: playlist.c playlist.h
gkovacs
subversion at mplayerhq.hu
Mon Jul 6 20:33:01 CEST 2009
Author: gkovacs
Date: Mon Jul 6 20:33:01 2009
New Revision: 4638
Log:
added const attrib to function parameters
Modified:
concat/libavformat/playlist.c
concat/libavformat/playlist.h
Modified: concat/libavformat/playlist.c
==============================================================================
--- concat/libavformat/playlist.c Mon Jul 6 20:27:04 2009 (r4637)
+++ concat/libavformat/playlist.c Mon Jul 6 20:33:01 2009 (r4638)
@@ -57,7 +57,7 @@ void ff_playlist_make_playelem(PlayElem
}
}
-PlaylistContext* ff_playlist_make_context(char *filename)
+PlaylistContext* ff_playlist_make_context(const char *filename)
{
int i;
PlaylistContext *ctx = av_malloc(sizeof(*ctx));
@@ -127,7 +127,7 @@ char* ff_buf_getline(ByteIOContext *s)
return oq;
}
-void ff_split_wd_fn(char *filepath,
+void ff_split_wd_fn(const char *filepath,
char **workingdir,
char **filename)
{
Modified: concat/libavformat/playlist.h
==============================================================================
--- concat/libavformat/playlist.h Mon Jul 6 20:27:04 2009 (r4637)
+++ concat/libavformat/playlist.h Mon Jul 6 20:33:01 2009 (r4638)
@@ -53,7 +53,7 @@ typedef struct PlaylistContext {
void ff_playlist_make_playelem(PlayElem* pe);
-PlaylistContext* ff_playlist_make_context(char *filename);
+PlaylistContext* ff_playlist_make_context(const char *filename);
int ff_playlist_populate_context(PlaylistContext *playlc, AVFormatContext *s, int stream_index);
@@ -61,7 +61,7 @@ char* ff_conc_strings(char *string1, cha
char* ff_buf_getline(ByteIOContext *s);
-void ff_split_wd_fn(char *filepath, char **workingdir, char **filename);
+void ff_split_wd_fn(const char *filepath, char **workingdir, char **filename);
int64_t ff_playlist_get_duration(AVFormatContext *ic, int stream_index);
More information about the FFmpeg-soc
mailing list