[FFmpeg-soc] [soc]: r5165 - in concat/libavformat: playlist.c playlist.h
gkovacs
subversion at mplayerhq.hu
Mon Aug 17 16:46:01 CEST 2009
Author: gkovacs
Date: Mon Aug 17 16:46:01 2009
New Revision: 5165
Log:
don't pass int as const
Modified:
concat/libavformat/playlist.c
concat/libavformat/playlist.h
Modified: concat/libavformat/playlist.c
==============================================================================
--- concat/libavformat/playlist.c Mon Aug 17 16:39:55 2009 (r5164)
+++ concat/libavformat/playlist.c Mon Aug 17 16:46:01 2009 (r5165)
@@ -163,7 +163,7 @@ void ff_playlist_add_path(PlaylistContex
}
void ff_playlist_relative_paths(char **flist,
- const int len,
+ int len,
const char *workingdir)
{
int i;
@@ -181,7 +181,7 @@ void ff_playlist_relative_paths(char **f
}
}
-int64_t ff_playlist_time_offset(int64_t *durations, const int pe_curidx)
+int64_t ff_playlist_time_offset(int64_t *durations, int pe_curidx)
{
int i;
int64_t total = 0;
Modified: concat/libavformat/playlist.h
==============================================================================
--- concat/libavformat/playlist.h Mon Aug 17 16:39:55 2009 (r5164)
+++ concat/libavformat/playlist.h Mon Aug 17 16:46:01 2009 (r5165)
@@ -91,7 +91,7 @@ void ff_playlist_set_context(AVFormatCon
* @param workingdir Path that strings in flist are relative to.
*/
void ff_playlist_relative_paths(char **flist,
- const int len,
+ int len,
const char *workingdir);
/** @fn void ff_playlist_split_encodedstring(char *s, char sep, char ***flist_ptr, int *len_ptr)
@@ -127,7 +127,7 @@ void ff_playlist_add_path(PlaylistContex
* @param pe_curidx Index of the playlist element for which to calculate the time offset.
* @return Returns the time offset in AV_TIME_BASE units.
*/
-int64_t ff_playlist_time_offset(int64_t *durations, const int pe_curidx);
+int64_t ff_playlist_time_offset(int64_t *durations, int pe_curidx);
/** @fn int ff_playlist_stream_index_from_time(PlaylistContext *ctx, int64_t pts, int64_t *localpts)
* @brief Calculates the index of the playlist item which would contain the timestamp specified in AV_TIME_BASE units.
More information about the FFmpeg-soc
mailing list